diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2006-07-14 00:24:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-14 21:53:53 -0700 |
commit | 635adb6cd25c8f816c9017a0a0349cd389eafcd3 (patch) | |
tree | 411268749d87ebebff2183990d776b4571c7e76a /drivers/char/nsc_gpio.c | |
parent | ae2d1f2f5b59d00b39283c52dc4ee675397bbacd (diff) |
[PATCH] scx200_gpio: use 1 cdev for N minors, not N for N
Remove the scx200_gpio's cdev-array & ksalloc, replacing it with a single
static struct cdev, which is sufficient for all the pins.
cdev_put is commented out since kernel wont link properly with it, and its
apparently not needed.
With these patches, this driver continues to work with Chris Boot's
leds_48xx driver.
Signed-off-by Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/nsc_gpio.c')
0 files changed, 0 insertions, 0 deletions