diff options
author | John Crispin <john@openwrt.org> | 2008-06-22 19:01:14 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-06-22 19:01:14 +0000 |
commit | 496bdd9eb769813854924e18d204546a899fa9d5 (patch) | |
tree | 5002c3371662b7449aca000014ecccbbe0448a7e /target/linux/ifxmips/files/include/asm-mips/mach-ifxmips | |
parent | 1af378601e2c5a0f5f260e501b62fa062d263196 (diff) | |
download | master-31e0f0ae-496bdd9eb769813854924e18d204546a899fa9d5.tar.gz master-31e0f0ae-496bdd9eb769813854924e18d204546a899fa9d5.tar.bz2 master-31e0f0ae-496bdd9eb769813854924e18d204546a899fa9d5.zip |
fixes several compile errors, reserves memory for second core, adds u-boot env parsing for ifxmips
SVN-Revision: 11558
Diffstat (limited to 'target/linux/ifxmips/files/include/asm-mips/mach-ifxmips')
-rw-r--r-- | target/linux/ifxmips/files/include/asm-mips/mach-ifxmips/gpio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ifxmips/files/include/asm-mips/mach-ifxmips/gpio.h b/target/linux/ifxmips/files/include/asm-mips/mach-ifxmips/gpio.h index 18fd49e270..0d207b0938 100644 --- a/target/linux/ifxmips/files/include/asm-mips/mach-ifxmips/gpio.h +++ b/target/linux/ifxmips/files/include/asm-mips/mach-ifxmips/gpio.h @@ -28,14 +28,17 @@ static inline int gpio_direction_input(unsigned gpio) { ifxmips_port_set_dir_in(0, gpio); + return 0; } static inline int gpio_direction_output(unsigned gpio, int value) { ifxmips_port_set_dir_out(0, gpio); + return 0; } static inline int gpio_get_value(unsigned gpio) { ifxmips_port_get_input(0, gpio); + return 0; } static inline void gpio_set_value(unsigned gpio, int value) { |