Files
linux/drivers
Jim Cromie ae2d1f2f5b [PATCH] scx200_gpio: 1 cdev for N minors: cleanup, prep
this patch is mostly cleanup of scx200_gpio :
- drop #include <linux/config.h>
- s/DEVNAME/DRVNAME/    apparently a convention
- replace variable num_pins with  #define MAX_PINS
- s/dev/devid/   to clarify that its a dev_t, not a struct device dev.
- move devid = MKDEV(major,0)  into branch where its needed.

2 minor 'changes' :

- reduced MAX_PINS from 64 to 32.  Ive never tested other pins, and
  theyre all multiplexed with other functions, some of which may be in use
  on my soekris 4801, so I dont know what testing should yield.

- +EXPORT_SYMBOL(scx200_access);

  This exposes the driver's vtable, which another driver can use along
  with #include <linux/nsc_gpio.h>, to manipulate a gpio-pin.

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>
2006-07-14 21:53:53 -07:00
..
2006-07-08 13:30:09 -07:00
2006-07-12 16:09:08 -07:00
2006-06-23 07:43:06 -07:00
2006-07-03 15:27:07 -07:00
2006-07-10 13:24:27 -07:00
2006-07-10 13:24:17 -07:00
2006-07-10 13:24:15 -07:00
2006-07-03 21:29:08 -07:00
2006-07-12 16:41:55 +02:00
2006-07-12 15:38:28 -07:00
2006-06-17 21:18:43 -07:00