summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-pxa
diff options
context:
space:
mode:
authorMike Dunn <mikedunn@newsguy.com>2013-04-12 11:59:15 -0700
committerMarek Vasut <marex@denx.de>2013-05-05 23:47:05 +0200
commite0e89e236f9692eb0af034c59607e2db2e333c1d (patch)
treedab4925c8d6bb5b85a8bbcf02ea16aaea9453856 /arch/arm/include/asm/arch-pxa
parent86e929e8252c9b2a6e74a9d53c9ef8a9d5353602 (diff)
downloadtalos-obmc-uboot-e0e89e236f9692eb0af034c59607e2db2e333c1d.tar.gz
talos-obmc-uboot-e0e89e236f9692eb0af034c59607e2db2e333c1d.zip
pxa27x_udc: remove call to unimplemented set_GPIO_mode()
If CONFIG_USB_DEV_PULLUP_GPIO is defined, a link error occurs because the set_GPIO_mode() helper function is not implemented. This function doesn't do much except make the code a little more readable, so I just manually coded its equivalent and removed the prototype from the header file. It is invoked no where else in the code. While I was at it, I noticed that two other function prototypes in the same header file are also neither implemented nor invoked anywhere, so I removed them as well. Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Diffstat (limited to 'arch/arm/include/asm/arch-pxa')
-rw-r--r--arch/arm/include/asm/arch-pxa/hardware.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/include/asm/arch-pxa/hardware.h b/arch/arm/include/asm/arch-pxa/hardware.h
index 44b800f681..2397bcef0d 100644
--- a/arch/arm/include/asm/arch-pxa/hardware.h
+++ b/arch/arm/include/asm/arch-pxa/hardware.h
@@ -77,17 +77,6 @@
#define GPIO_FALLING_EDGE 1
#define GPIO_RISING_EDGE 2
#define GPIO_BOTH_EDGES 3
-extern void set_GPIO_IRQ_edge( int gpio_nr, int edge_mask );
-
-/*
- * Handy routine to set GPIO alternate functions
- */
-extern void set_GPIO_mode( int gpio_mode );
-
-/*
- * return current lclk frequency in units of 10kHz
- */
-extern unsigned int get_lclk_frequency_10khz(void);
#endif
OpenPOWER on IntegriCloud