projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] iw: update to 0.9.17
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
files-2.6.27
/
drivers
/
char
/
gpio_dev.c
diff --git
a/target/linux/generic-2.6/files-2.6.27/drivers/char/gpio_dev.c
b/target/linux/generic-2.6/files-2.6.27/drivers/char/gpio_dev.c
index
3fbf3a5
..
8392fcf
100644
(file)
--- a/
target/linux/generic-2.6/files-2.6.27/drivers/char/gpio_dev.c
+++ b/
target/linux/generic-2.6/files-2.6.27/drivers/char/gpio_dev.c
@@
-37,7
+37,7
@@
static int dev_major;
static unsigned int gpio_access_mask;
static int dev_major;
static unsigned int gpio_access_mask;
-static struct class *gpio_class;
+static struct class *gpio
dev
_class;
/* Counter is 1, if the device is not opened and zero (or less) if opened. */
static atomic_t gpio_open_cnt = ATOMIC_INIT(1);
/* Counter is 1, if the device is not opened and zero (or less) if opened. */
static atomic_t gpio_open_cnt = ATOMIC_INIT(1);
@@
-141,8
+141,8
@@
gpio_probe(struct platform_device *dev)
goto out;
}
goto out;
}
- gpio
_class = class_create(THIS_MODULE, DE
VNAME);
- device_create(gpio_class, NULL, MKDEV(dev_major, 0), dev, DEVNAME);
+ gpio
dev_class = class_create(THIS_MODULE, DR
VNAME);
+ device_create(gpio
dev
_class, NULL, MKDEV(dev_major, 0), dev, DEVNAME);
printk(KERN_INFO DRVNAME ": gpio device registered with major %d\n", dev_major);
printk(KERN_INFO DRVNAME ": gpio device registered with major %d\n", dev_major);
This page took
0.02126 seconds
and
4
git commands to generate.