Commit ff78b202 authored by Cliff Brake's avatar Cliff Brake Committed by Linus Torvalds

[PATCH] Input: ucb1400 - set up driver's name to show in sysfs

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: default avatarCliff Brake <cbrake@bec-systems.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0bce0b7a
...@@ -553,6 +553,7 @@ static int ucb1400_ts_remove(struct device *dev) ...@@ -553,6 +553,7 @@ static int ucb1400_ts_remove(struct device *dev)
} }
static struct device_driver ucb1400_ts_driver = { static struct device_driver ucb1400_ts_driver = {
.name = "ucb1400_ts",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.bus = &ac97_bus_type, .bus = &ac97_bus_type,
.probe = ucb1400_ts_probe, .probe = ucb1400_ts_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment