diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-06-02 19:26:10 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-06-02 19:26:10 +0000 |
commit | 98ac5134e7f8bcd50806417221bd3412ae955348 (patch) | |
tree | 3701a18d1635708001c3173de6bdf7a723b32f0c | |
parent | d3f39ad3abf5223cf8f928f76bd66a34a4de82d1 (diff) | |
download | master-187ad058-98ac5134e7f8bcd50806417221bd3412ae955348.tar.gz master-187ad058-98ac5134e7f8bcd50806417221bd3412ae955348.tar.bz2 master-187ad058-98ac5134e7f8bcd50806417221bd3412ae955348.zip |
[kernel] 2.6.26: fix gpio_dev compile error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11333 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c | 2 |
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 48ef76f8a9..9a83adc1fb 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); - class_device_create(gpio_class, NULL, MKDEV(dev_major, 0), NULL, DEVNAME); + device_create(gpio_class, NULL, MKDEV(dev_major, 0), NULL, DEVNAME); printk(KERN_INFO DRVNAME ": gpio device registered with major %d\n", dev_major); |