projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ip17xx: Keep all state locally
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
files
/
drivers
/
char
/
gpio_dev.c
diff --git
a/target/linux/generic-2.6/files/drivers/char/gpio_dev.c
b/target/linux/generic-2.6/files/drivers/char/gpio_dev.c
index
4dc6374
..
8392fcf
100644
(file)
--- a/
target/linux/generic-2.6/files/drivers/char/gpio_dev.c
+++ b/
target/linux/generic-2.6/files/drivers/char/gpio_dev.c
@@
-142,7
+142,7
@@
gpio_probe(struct platform_device *dev)
}
gpiodev_class = class_create(THIS_MODULE, DRVNAME);
}
gpiodev_class = class_create(THIS_MODULE, DRVNAME);
-
class_device_create(gpiodev_class, NULL, MKDEV(dev_major, 0), NULL
, DEVNAME);
+
device_create(gpiodev_class, NULL, MKDEV(dev_major, 0), dev
, DEVNAME);
printk(KERN_INFO DRVNAME ": gpio device registered with major %d\n", dev_major);
printk(KERN_INFO DRVNAME ": gpio device registered with major %d\n", dev_major);
This page took
0.025196 seconds
and
4
git commands to generate.