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 | bbe724019f5e3b006d602512f713c3eed452a6c8 (patch) | |
tree | c54ca34bae685e103fd75bab41df8bc2887aeebc /target/linux/generic-2.6 | |
parent | e1eccf79de485455d4cd0c7d3d052decae0a333a (diff) | |
download | upstream-bbe724019f5e3b006d602512f713c3eed452a6c8.tar.gz upstream-bbe724019f5e3b006d602512f713c3eed452a6c8.tar.bz2 upstream-bbe724019f5e3b006d602512f713c3eed452a6c8.zip |
2.6.26: fix gpio_dev compile error
SVN-Revision: 11333
Diffstat (limited to 'target/linux/generic-2.6')
-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); |