X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/8540d5d19ebac6a3f30d82f36ff33f19d728f10b..adde7768a2eab2950a7628319ec832c63a00ff03:/target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c?ds=sidebyside 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 48ef76f8a..b09ebeffa 100644 --- 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); - 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);