summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-06-29 06:27:53 +0200
committerShawn Guo <shawn.guo@linaro.org>2013-08-16 06:59:44 +0200
commitfc608c745cf71a7abb673d891104597120042f21 (patch)
tree9e014eff8675a1d1ccb635badd45dab64c08b24e
parentdrivers: bus: imx-weim: use module_platform_driver_probe() (diff)
downloadlinux-fc608c745cf71a7abb673d891104597120042f21.tar.xz
linux-fc608c745cf71a7abb673d891104597120042f21.zip
drivers: bus: imx-weim: Add missing platform_driver.owner field
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r--drivers/bus/imx-weim.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/bus/imx-weim.c b/drivers/bus/imx-weim.c
index f8729247e48e..dc860a411343 100644
--- a/drivers/bus/imx-weim.c
+++ b/drivers/bus/imx-weim.c
@@ -108,8 +108,9 @@ static int __init weim_probe(struct platform_device *pdev)
static struct platform_driver weim_driver = {
.driver = {
- .name = "imx-weim",
- .of_match_table = weim_id_table,
+ .name = "imx-weim",
+ .owner = THIS_MODULE,
+ .of_match_table = weim_id_table,
},
};
module_platform_driver_probe(weim_driver, weim_probe);