2.6.26: oops, fix gpio_dev (commited a wrong file in [11333])
authorGabor Juhos <juhosg@openwrt.org>
Mon, 2 Jun 2008 19:34:44 +0000 (19:34 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 2 Jun 2008 19:34:44 +0000 (19:34 +0000)
SVN-Revision: 11334

target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c

index 9a83adc1fb5f52f1d003141d9a60102533912a9a..b09ebeffad69bf0d8567182bfb3111e889e97a0d 100644 (file)
@@ -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);