Skip to content

Commit

Permalink
[PATCH] Input: ucb1400 - set up driver's name to show in sysfs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cliff Brake authored and Linus Torvalds committed Apr 11, 2007
1 parent 0bce0b7 commit ff78b20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/touchscreen/ucb1400_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ff78b20

Please sign in to comment.