Selaa lähdekoodia

2.6.26: oops, fix gpio_dev (commited a wrong file in [11333])

SVN-Revision: 11334
Gabor Juhos 18 vuotta sitten
vanhempi
sitoutus
10c3ea71bb
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c

+ 1 - 1
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);