summaryrefslogtreecommitdiffstats
path: root/drivers/char/scx200_gpio.c
diff options
context:
space:
mode:
authorChris Boot2006-09-29 10:59:07 +0200
committerLinus Torvalds2006-09-29 18:18:06 +0200
commit58012cd788443b9d144bd7c72260a84b6b30f45d (patch)
tree22696f3e8201dfb5b5a59544a8f6be335293077e /drivers/char/scx200_gpio.c
parent[PATCH] Let WARN_ON/WARN_ON_ONCE return the condition (diff)
downloadkernel-qcow2-linux-58012cd788443b9d144bd7c72260a84b6b30f45d.tar.gz
kernel-qcow2-linux-58012cd788443b9d144bd7c72260a84b6b30f45d.tar.xz
kernel-qcow2-linux-58012cd788443b9d144bd7c72260a84b6b30f45d.zip
[PATCH] scx200_gpio export cleanups
Use EXPORT_SYMBOL_GPL for new symbols, and declare the struct in the header file for access by other modules. Signed-off-by: Chris Boot <bootc@bootc.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/scx200_gpio.c')
-rw-r--r--drivers/char/scx200_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/scx200_gpio.c b/drivers/char/scx200_gpio.c
index b1f88c66b2b5..99e5272e3c53 100644
--- a/drivers/char/scx200_gpio.c
+++ b/drivers/char/scx200_gpio.c
@@ -44,7 +44,7 @@ struct nsc_gpio_ops scx200_gpio_ops = {
.gpio_change = scx200_gpio_change,
.gpio_current = scx200_gpio_current
};
-EXPORT_SYMBOL(scx200_gpio_ops);
+EXPORT_SYMBOL_GPL(scx200_gpio_ops);
static int scx200_gpio_open(struct inode *inode, struct file *file)
{