1
0
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:
juhosg 2008-06-02 19:26:10 +00:00
parent f0e57e2d4e
commit 35673e0f68

View File

@ -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);