Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123655
b: refs/heads/master
c: 63e6552
h: refs/heads/master
i:
  123653: 46b09a2
  123651: 8473975
  123647: 7f95134
v: v3
  • Loading branch information
Eric Miao committed Dec 2, 2008
1 parent df66ff8 commit 51e155c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80796f2a40504526797d488d17b87c4274d430fa
refs/heads/master: 63e6552f7cc45739cd2f92c27f5081f753b70d04
15 changes: 0 additions & 15 deletions trunk/arch/arm/mach-pxa/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,21 +257,6 @@
__cpu_is_pxa3xx(read_cpuid_id()); \
})

/*
* Handy routine to set GPIO alternate functions
*/
extern int pxa_gpio_mode( int gpio_mode );

/*
* Return GPIO level, nonzero means high, zero is low
*/
extern int pxa_gpio_get_value(unsigned gpio);

/*
* Set output GPIO level
*/
extern void pxa_gpio_set_value(unsigned gpio, int value);

/*
* return current memory and LCD clock frequency in units of 10kHz
*/
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-pxa/include/mach/pxa2xx-gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,9 @@
#define GPIO117_I2CSCL_MD (117 | GPIO_ALT_FN_1_IN)
#define GPIO118_I2CSDA_MD (118 | GPIO_ALT_FN_1_IN)

/*
* Handy routine to set GPIO alternate functions
*/
extern int pxa_gpio_mode( int gpio_mode );

#endif /* __ASM_ARCH_PXA2XX_GPIO_H */

0 comments on commit 51e155c

Please sign in to comment.