summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-06-02 19:34:44 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-06-02 19:34:44 +0000
commit10c3ea71bb79d1b90ab18b36344116647f76755c (patch)
tree59207db637c2ff4ad090871bce9bc1a717852ee2
parentbbe724019f5e3b006d602512f713c3eed452a6c8 (diff)
downloadmtk-20170518-10c3ea71bb79d1b90ab18b36344116647f76755c.zip
mtk-20170518-10c3ea71bb79d1b90ab18b36344116647f76755c.tar.gz
mtk-20170518-10c3ea71bb79d1b90ab18b36344116647f76755c.tar.bz2
2.6.26: oops, fix gpio_dev (commited a wrong file in [11333])
SVN-Revision: 11334
-rw-r--r--target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c2
1 files changed, 1 insertions, 1 deletions
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 9a83adc..b09ebef 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);