From: Gabor Juhos Date: Mon, 2 Jun 2008 19:34:44 +0000 (+0000) Subject: 2.6.26: oops, fix gpio_dev (commited a wrong file in [11333]) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=10c3ea71bb79d1b90ab18b36344116647f76755c;p=openwrt%2Fstaging%2Fmkresin.git 2.6.26: oops, fix gpio_dev (commited a wrong file in [11333]) SVN-Revision: 11334 --- 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 9a83adc1fb..b09ebeffad 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); - 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);