summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2006-07-14 09:24:16 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-15 06:53:53 +0200
commitae2d1f2f5b59d00b39283c52dc4ee675397bbacd (patch)
tree6decdcf53edc031625c6c5c6ee3b47276ab3600f /.gitignore
parent[PATCH] unexport open_softirq (diff)
downloadlinux-ae2d1f2f5b59d00b39283c52dc4ee675397bbacd.tar.xz
linux-ae2d1f2f5b59d00b39283c52dc4ee675397bbacd.zip
[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>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions