[PATCH] pc8736x_gpio: fix re-modprobe errors: define and use constants
authorJim Cromie <jim.cromie@gmail.com>
Mon, 10 Jul 2006 11:45:35 +0000 (04:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:26 +0000 (13:24 -0700)
commit4f197842d0f3dd994882407f8760f2eda9005191
tree3eed7508d8ae1df7aabbaea3f80f6520c695f54d
parent1a87d9425e0347c0e880254816d8e9f41a0e2b0c
[PATCH] pc8736x_gpio: fix re-modprobe errors: define and use constants

add constant defines - preparatory patch

- adds #define CONSTs  for max-pin,  gpio-addr-range (for reserving region)
- fix wrong max-pin check in gpio_open()
- add 'Winbond' to module description.  NSC sold the product, Winbond
  has supported us / lm-sensors

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>
drivers/char/pc8736x_gpio.c