aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commit81b5a7f6deb6f559e6d00c6c61ac1795a07120df (patch)
tree1aeb82924269cc6accb6c090329052f5832519b9 /target
parent98ac5134e7f8bcd50806417221bd3412ae955348 (diff)
downloadupstream-81b5a7f6deb6f559e6d00c6c61ac1795a07120df.tar.gz
upstream-81b5a7f6deb6f559e6d00c6c61ac1795a07120df.tar.bz2
upstream-81b5a7f6deb6f559e6d00c6c61ac1795a07120df.zip
[kernel] 2.6.26: oops, fix gpio_dev (commited a wrong file in [11333])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11334 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 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);