提交 e78f857c 编写于 作者: L Laurent Riffard 提交者: Greg Kroah-Hartman

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

This patch updates the .owner field for various struct xxxx_driver
variables which are available on PPC_MAC arch.

This one was _not_ even compile-tested...
Signed-off-by: NLaurent Riffard <laurent.riffard@free.fr>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 0cf36281
...@@ -716,6 +716,7 @@ static struct of_device_id i2c_keywest_match[] = ...@@ -716,6 +716,7 @@ static struct of_device_id i2c_keywest_match[] =
static struct macio_driver i2c_keywest_macio_driver = static struct macio_driver i2c_keywest_macio_driver =
{ {
.owner = THIS_MODULE,
.name = "i2c-keywest", .name = "i2c-keywest",
.match_table = i2c_keywest_match, .match_table = i2c_keywest_match,
.probe = create_iface_macio, .probe = create_iface_macio,
...@@ -724,6 +725,7 @@ static struct macio_driver i2c_keywest_macio_driver = ...@@ -724,6 +725,7 @@ static struct macio_driver i2c_keywest_macio_driver =
static struct of_platform_driver i2c_keywest_of_platform_driver = static struct of_platform_driver i2c_keywest_of_platform_driver =
{ {
.owner = THIS_MODULE,
.name = "i2c-keywest", .name = "i2c-keywest",
.match_table = i2c_keywest_match, .match_table = i2c_keywest_match,
.probe = create_iface_of_platform, .probe = create_iface_of_platform,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册