From 35673e0f686e169b297529fe3d556f1f89dbc83b Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 2 Jun 2008 19:26:10 +0000 Subject: [kernel] 2.6.26: fix gpio_dev compile error git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11333 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/files-2.6.26/drivers/char/gpio_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic-2.6/files-2.6.26/drivers/char') 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 48ef76f8a..9a83adc1f 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); -- cgit v1.2.3