]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/scx200_gpio.c
[PATCH] tty: update the tty layer to work with struct pid
[linux-2.6-omap-h63xx.git] / drivers / char / scx200_gpio.c
index b956c7babd18a8a4933d6a99e74bd86ceb63c62d..99e5272e3c53e1ef1aa32f0733b1bbf0e9f2487e 100644 (file)
@@ -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)
 {
@@ -69,7 +69,7 @@ static const struct file_operations scx200_gpio_fileops = {
        .release = scx200_gpio_release,
 };
 
-struct cdev scx200_gpio_cdev;  /* use 1 cdev for all pins */
+static struct cdev scx200_gpio_cdev;  /* use 1 cdev for all pins */
 
 static int __init scx200_gpio_init(void)
 {