mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 18:56:37 +00:00
2.6.26: fix gpio_dev compile error
SVN-Revision: 11333
This commit is contained in:
parent
e1eccf79de
commit
bbe724019f
@ -142,7 +142,7 @@ gpio_probe(struct platform_device *dev)
|
||||
}
|
||||
|
||||
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), NULL, DEVNAME);
|
||||
|
||||
printk(KERN_INFO DRVNAME ": gpio device registered with major %d\n", dev_major);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user