mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-19 11:03:41 +03:00
[kernel] 2.6.26: oops, fix gpio_dev (commited a wrong file in [11333])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11334 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
35673e0f68
commit
6ca4e1f912
@ -142,7 +142,7 @@ gpio_probe(struct platform_device *dev)
|
||||
}
|
||||
|
||||
gpio_class = class_create(THIS_MODULE, DEVNAME);
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user