diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-s3c2410/hardware.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/hardware.h b/include/asm-arm/arch-s3c2410/hardware.h index faeaba514ffe..20509e4540f6 100644 --- a/include/asm-arm/arch-s3c2410/hardware.h +++ b/include/asm-arm/arch-s3c2410/hardware.h | |||
@@ -87,6 +87,18 @@ extern int s3c2410_gpio_irqfilter(unsigned int pin, unsigned int on, | |||
87 | 87 | ||
88 | extern void s3c2410_gpio_pullup(unsigned int pin, unsigned int to); | 88 | extern void s3c2410_gpio_pullup(unsigned int pin, unsigned int to); |
89 | 89 | ||
90 | /* s3c2410_gpio_getpull | ||
91 | * | ||
92 | * Read the state of the pull-up on a given pin | ||
93 | * | ||
94 | * return: | ||
95 | * < 0 => error code | ||
96 | * 0 => enabled | ||
97 | * 1 => disabled | ||
98 | */ | ||
99 | |||
100 | extern int s3c2410_gpio_getpull(unsigned int pin); | ||
101 | |||
90 | extern void s3c2410_gpio_setpin(unsigned int pin, unsigned int to); | 102 | extern void s3c2410_gpio_setpin(unsigned int pin, unsigned int to); |
91 | 103 | ||
92 | extern unsigned int s3c2410_gpio_getpin(unsigned int pin); | 104 | extern unsigned int s3c2410_gpio_getpin(unsigned int pin); |