Fix broken IXP4xx GPIO macro
PATCH 1/1 Fix broken IXP4xx GPIO macro
Macro ended up backwards during one of cleanups. Found by Alessandro Zummo.
Signed-off-by Deepak Saxena <[email protected]>
include/asm-arm/arch-ixp4xx/platform.h +1 -1
@@ -93,7 +93,7 @@ extern struct pci_bus *ixp4xx_scan_bus(istatic inline void gpio_line_config (u8 line,u32 direction) { -if (direction ==IXP4XX_GPIO_OUT ) +if (direction ==IXP4XX_GPIO_IN ) *IXP4XX_GPIO_GPOER |= (1 << line);else *IXP4XX_GPIO_GPOER &= ~(1 << line);
Signature · 3 lines
Deepak Saxena - [email protected] - http://www.plexity.net Even a stopped clock gives the right time twice a day.