Re: [PATCH] i2c driver changes for 2.5.66

Russell King
2003-03-25T08:44:04Z

On Mon, Mar 24, 2003 at 05:38:00PM -0800, Greg KH wrote:
> static struct i2c_adapter ioc_ops = {
> - .name = "IOC/IOMD",
> .id = I2C_HW_B_IOC,
> .algo_data = &ioc_data,
> .client_register = ioc_client_reg,
> .client_unregister = ioc_client_unreg
> + .dev = {
> + .name = "IOC/IOMD",
> + },
> };

Are you sure that "IOC/IOMD" is a good name to stick in sysfs?
s|/|,| would probably be a good idea.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux