Explorar o código

Input: ucb1400_ts - set driver owner

So that it has proper symlink to the containing module in sysfs.

Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Dmitry Torokhov %!s(int64=13) %!d(string=hai) anos
pai
achega
8028e938ee
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/input/touchscreen/ucb1400_ts.c

+ 1 - 0
drivers/input/touchscreen/ucb1400_ts.c

@@ -453,6 +453,7 @@ static struct platform_driver ucb1400_ts_driver = {
 	.remove	= ucb1400_ts_remove,
 	.remove	= ucb1400_ts_remove,
 	.driver	= {
 	.driver	= {
 		.name	= "ucb1400_ts",
 		.name	= "ucb1400_ts",
+		.owner	= THIS_MODULE,
 		.pm	= &ucb1400_ts_pm_ops,
 		.pm	= &ucb1400_ts_pm_ops,
 	},
 	},
 };
 };