]> err.no Git - linux-2.6/commitdiff
[PATCH] Input: ucb1400 - set up driver's name to show in sysfs
authorCliff Brake <cbrake@bec-systems.com>
Tue, 10 Apr 2007 03:50:50 +0000 (23:50 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 11 Apr 2007 00:26:33 +0000 (17:26 -0700)
The UCB1400 is missing a name parameter in the device_driver struct.
This causes missing information in the /sys tree and seems to cause
other problems with the AC97 functionality. This was tested on a PXA270
system.

Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/input/touchscreen/ucb1400_ts.c

index c7db4032ef02e5a09f4ddd98fd93d28753c96935..e8606c48c9c31b6aa1f18736e24b967d69ee3fe6 100644 (file)
@@ -553,6 +553,7 @@ static int ucb1400_ts_remove(struct device *dev)
 }
 
 static struct device_driver ucb1400_ts_driver = {
+       .name           = "ucb1400_ts",
        .owner          = THIS_MODULE,
        .bus            = &ac97_bus_type,
        .probe          = ucb1400_ts_probe,