Commit 1747ef1b authored by Laurent Riffard's avatar Laurent Riffard Committed by Greg Kroah-Hartman

[PATCH] Owner field additions to many i2c drivers, 5 of 5

In function i2c_isa_add_driver, copied driver should inherit the owner
field as well as the name field.
Signed-off-by: default avatarLaurent Riffard <laurent.riffard@free.fr>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6586bcd7
...@@ -92,6 +92,7 @@ int i2c_isa_add_driver(struct i2c_driver *driver) ...@@ -92,6 +92,7 @@ int i2c_isa_add_driver(struct i2c_driver *driver)
/* Add the driver to the list of i2c drivers in the driver core */ /* Add the driver to the list of i2c drivers in the driver core */
driver->driver.name = driver->name; driver->driver.name = driver->name;
driver->driver.owner = driver->owner;
driver->driver.bus = &i2c_bus_type; driver->driver.bus = &i2c_bus_type;
driver->driver.probe = i2c_isa_device_probe; driver->driver.probe = i2c_isa_device_probe;
driver->driver.remove = i2c_isa_device_remove; driver->driver.remove = i2c_isa_device_remove;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment