Content-Disposition: inline; filename=i2c-drop-driver-owner-and-name-10-arm.patch We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for arm arch. Signed-off-by: Jean Delvare <khali at linux-fr.org> CC: Laurent Riffard <laurent.riffard at free.fr> --- arch/arm/mach-pxa/akita-ioexp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- linux-2.6.15-rc2.orig/arch/arm/mach-pxa/akita-ioexp.c 2005-11-26 14:05:30.000000000 +0100 +++ linux-2.6.15-rc2/arch/arm/mach-pxa/akita-ioexp.c 2005-11-26 14:12:20.000000000 +0100 @@ -124,8 +124,10 @@ } static struct i2c_driver max7310_i2c_driver = { - .owner = THIS_MODULE, - .name = "akita-max7310", + .driver = { + .owner = THIS_MODULE, + .name = "akita-max7310", + }, .id = I2C_DRIVERID_AKITAIOEXP, .attach_adapter = max7310_attach_adapter, .detach_client = max7310_detach_client, -- Jean Delvare