diff options
author | Andy Green <agreen@octopus.localdomain> | 2009-02-15 12:31:08 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-02-15 12:31:08 +0000 |
commit | d82debf2629689a241c0a0b1fbae9784c9fc323d (patch) | |
tree | 03bf1b8ccabd4af2fca1ab29f964c8e1234a8d1f | |
parent | 965b2932ee976c06d673abc1e800c4652fb6b422 (diff) |
Add an export of the two GPIO configuration calls
s3c_gpio_cfgpin and s3c_gpio_setpull to allow modules
to use them (such as ASoC drivers)
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
-rw-r--r-- | arch/arm/plat-s3c/gpio-config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/gpio-config.c b/arch/arm/plat-s3c/gpio-config.c index 7642b975a99..08044dec973 100644 --- a/arch/arm/plat-s3c/gpio-config.c +++ b/arch/arm/plat-s3c/gpio-config.c @@ -13,6 +13,7 @@ */ #include <linux/kernel.h> +#include <linux/module.h> #include <linux/gpio.h> #include <linux/io.h> @@ -38,6 +39,7 @@ int s3c_gpio_cfgpin(unsigned int pin, unsigned int config) return ret; } +EXPORT_SYMBOL(s3c_gpio_cfgpin); int s3c_gpio_setpull(unsigned int pin, s3c_gpio_pull_t pull) { @@ -56,6 +58,7 @@ int s3c_gpio_setpull(unsigned int pin, s3c_gpio_pull_t pull) return ret; } +EXPORT_SYMBOL(s3c_gpio_setpull); #ifdef CONFIG_S3C_GPIO_CFG_S3C24XX int s3c_gpio_setcfg_s3c24xx_banka(struct s3c_gpio_chip *chip, |