ramips: refresh 2.6.34 patches
[openwrt.git] / target / linux / generic-2.6 / files / drivers / char / gpio_dev.c
index 4dc6374..8392fcf 100644 (file)
@@ -142,7 +142,7 @@ gpio_probe(struct platform_device *dev)
        }
 
        gpiodev_class = class_create(THIS_MODULE, DRVNAME);
-       class_device_create(gpiodev_class, NULL, MKDEV(dev_major, 0), NULL, DEVNAME);
+       device_create(gpiodev_class, NULL, MKDEV(dev_major, 0), dev, DEVNAME);
 
        printk(KERN_INFO DRVNAME ": gpio device registered with major %d\n", dev_major);
 
This page took 0.019915 seconds and 4 git commands to generate.