projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
files-2.6.26
/
drivers
/
char
/
gpio_dev.c
diff --git
a/target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c
b/target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c
index
48ef76f
..
b09ebef
100644
(file)
--- a/
target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c
+++ b/
target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c
@@
-142,7
+142,7
@@
gpio_probe(struct platform_device *dev)
}
gpio_class = class_create(THIS_MODULE, DEVNAME);
}
gpio_class = class_create(THIS_MODULE, DEVNAME);
-
class_device_create(gpio_class, NULL, MKDEV(dev_major, 0), NULL
, DEVNAME);
+
device_create(gpio_class, NULL, MKDEV(dev_major, 0)
, 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.024824 seconds
and
4
git commands to generate.