git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of git://git.infradead.org/users/eparis/notify
[pandora-kernel.git]
/
arch
/
arm
/
plat-samsung
/
include
/
plat
/
gpio-cfg-helpers.h
diff --git
a/arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h
b/arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h
index
3e21c75
..
8fd65d8
100644
(file)
--- a/
arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h
+++ b/
arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h
@@
-42,6
+42,12
@@
static inline int s3c_gpio_do_setpull(struct s3c_gpio_chip *chip,
return (chip->config->set_pull)(chip, off, pull);
}
return (chip->config->set_pull)(chip, off, pull);
}
+static inline s3c_gpio_pull_t s3c_gpio_do_getpull(struct s3c_gpio_chip *chip,
+ unsigned int off)
+{
+ return chip->config->get_pull(chip, off);
+}
+
/**
* s3c_gpio_setcfg_s3c24xx - S3C24XX style GPIO configuration.
* @chip: The gpio chip that is being configured.
/**
* s3c_gpio_setcfg_s3c24xx - S3C24XX style GPIO configuration.
* @chip: The gpio chip that is being configured.