projects/linux·commit ff78b202

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

ff78b202 · Cliff Brake <[email protected]> · 2007-04-09 23:50:50 -04:00

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 <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
ff78b20235f84966c4b7962ce94e800adecc5383
Parents
0bce0b7a

Changes

1 files changed · +1 −0

FileStatusAddDelContent
drivers/input/touchscreen/ucb1400_ts.cmodified+1−0View file

drivers/input/touchscreen/ucb1400_ts.c

View file
diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c
index c7db403..e8606c4 100644
--- a/drivers/input/touchscreen/ucb1400_ts.c
+++ b/drivers/input/touchscreen/ucb1400_ts.c
@@ -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,