summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-06-29 08:27:53 +0400
committerShawn Guo <shawn.guo@linaro.org>2013-08-16 12:59:44 +0800
commitfc608c745cf71a7abb673d891104597120042f21 (patch)
tree9e014eff8675a1d1ccb635badd45dab64c08b24e /drivers/bus
parent29e54970c2681ad621d13df739d0cddf052acf9d (diff)
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>
Diffstat (limited to 'drivers/bus')
-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 f8729247e48..dc860a41134 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);