diff options
author | Jim Cromie <jim.cromie@gmail.com> | 2006-07-10 04:45:37 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 13:24:26 -0700 |
commit | babcfade47371eea81fd7f24d892b5ff5b1786ea (patch) | |
tree | a0b5f1ce6d0ab758f78a35a1e8fd0ce07c8572f3 /drivers/char/snsc_event.c | |
parent | 27385085f19a9bc9b147905554e6e2509fdaceb2 (diff) | |
download | op-kernel-dev-babcfade47371eea81fd7f24d892b5ff5b1786ea.zip op-kernel-dev-babcfade47371eea81fd7f24d892b5ff5b1786ea.tar.gz |
[PATCH] pc8736x_gpio: fix re-modprobe errors: fix/finish cdev-init
- Switch from register_chrdev() to (register|alloc)_chrdev_region().
- use a cdev. This was intended for original patchset, but was
overlooked.
We use a single cdev for all pins (minor device-numbers), as gleaned
from cs5535_gpio, and in contrast to whats currently done in scx200_gpio
(which I'll fix soon)
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/snsc_event.c')
0 files changed, 0 insertions, 0 deletions