]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: cx25821: Move EXPORT_SYMBOL() to the right place
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>
Fri, 2 Sep 2011 03:55:32 +0000 (11:55 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 12 Sep 2011 14:46:05 +0000 (16:46 +0200)
Move EXPORT_SYMBOL(cx25821_set_gpiopin_direction) to the right place.

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Reviewed-By: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cx25821/cx25821-core.c
drivers/staging/cx25821/cx25821-gpio.c

index 523ac5e16c1b2d05d5a68fefc8a9fea5967d3eff..8e8a56d253e27062d8f85b8532eab606d3dc9efd 100644 (file)
@@ -1512,7 +1512,6 @@ static void __exit cx25821_fini(void)
        pci_unregister_driver(&cx25821_pci_driver);
 }
 
-EXPORT_SYMBOL(cx25821_set_gpiopin_direction);
 
 module_init(cx25821_init);
 module_exit(cx25821_fini);
index 2f154b3658a13ddbc34459d050955175034f6369..29e43b03c85e18eaee3a4daa02eebff9ba2c7749 100644 (file)
@@ -50,6 +50,7 @@ void cx25821_set_gpiopin_direction(struct cx25821_dev *dev,
 
        cx_write(gpio_oe_reg, value);
 }
+EXPORT_SYMBOL(cx25821_set_gpiopin_direction);
 
 static void cx25821_set_gpiopin_logicvalue(struct cx25821_dev *dev,
                                           int pin_number, int pin_logic_value)