From 2736f2b6504afbfe46fd8e69aa955a1df3ed1b08 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 11 Nov 2010 11:33:21 +0000 Subject: [PATCH] minor fixes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3096 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/lpc17xx/lpc17_ethernet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/lpc17xx/lpc17_ethernet.c b/arch/arm/src/lpc17xx/lpc17_ethernet.c index fbb457a9e0f..e144eb19119 100644 --- a/arch/arm/src/lpc17xx/lpc17_ethernet.c +++ b/arch/arm/src/lpc17xx/lpc17_ethernet.c @@ -105,7 +105,7 @@ /* This is the number of ethernet GPIO pins that must be configured */ -#define GPIO_NENET_PINS 12 +#define GPIO_NENET_PINS 10 /* Register debug */ @@ -147,7 +147,7 @@ static struct lpc17_driver_s g_ethdrvr[CONFIG_LPC17_NINTERFACES]; * On older Rev '-' devices, P1[6] ENET-TX_CLK would also have be to configured. */ -static uint16_t g_enetpins[GPIO_NENET_PINS] = +static const uint16_t g_enetpins[GPIO_NENET_PINS] = { GPIO_ENET_TXD0, GPIO_ENET_TXD1, GPIO_ENET_TXEN, GPIO_ENET_CRS, GPIO_ENET_RXD0, GPIO_ENET_RXD1, GPIO_ENET_RXER, GPIO_ENET_REFCLK, GPIO_ENET_MDC, GPIO_ENET_MDIO