mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 02:48:37 +02:00
[kernel] 2.6.26: fix gpio_dev compile error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11333 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f0e57e2d4e
commit
35673e0f68
@ -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