Fix some issues revealed by name changin of commit e5dfd805e6.

This commit is contained in:
Gregory Nutt 2019-07-11 11:19:03 -06:00
parent e5dfd805e6
commit 021a32b97d
4 changed files with 9 additions and 9 deletions

View File

@ -115,7 +115,7 @@ config ARCH_CHIP_LPC1788
bool "LPC1788"
select ARCH_FAMILY_LPC178X
select ARCH_CORTEXM3
config ARCH_CHIP_LPC4072
bool "LPC4072"
select ARCH_FAMILY_LPC407X

View File

@ -151,7 +151,7 @@ static char g_uart2rxbuffer[CONFIG_UART2_RXBUFSIZE];
static char g_uart2txbuffer[CONFIG_UART2_TXBUFSIZE];
#endif
/* This describes the state of the LPC17xx/LPC40xx uart0 port. */
/* This describes the state of the NUC1xx uart0 port. */
#ifdef CONFIG_NUC_UART0
static struct nuc_dev_s g_uart0priv =
@ -182,7 +182,7 @@ static uart_dev_t g_uart0port =
};
#endif /* CONFIG_NUC_UART0 */
/* This describes the state of the LPC17xx/LPC40xx uart1 port. */
/* This describes the state of the NUC1xx uart1 port. */
#ifdef CONFIG_NUC_UART1
static struct nuc_dev_s g_uart1priv =
@ -213,7 +213,7 @@ static uart_dev_t g_uart1port =
};
#endif /* CONFIG_NUC_UART1 */
/* This describes the state of the LPC17xx/LPC40xx uart1 port. */
/* This describes the state of the NUC1xx uart1 port. */
#ifdef CONFIG_NUC_UART2
static struct nuc_dev_s g_uart2priv =

View File

@ -744,12 +744,12 @@ static int emac_rmmac(struct net_driver_s *dev, FAR const uint8_t *mac)
int emac_initialize(int intf)
{
struct lpc17_40_driver_s *priv;
struct emac_driver_s *priv;
/* Get the interface structure associated with this interface number. */
DEBUGASSERT(inf < CONFIG_HCS12_NINTERFACES);
priv = &g_ethdrvr[intf];
priv = &g_emac[intf];
/* Check if a Ethernet chip is recognized at its I/O base */
@ -773,7 +773,7 @@ int emac_initialize(int intf)
priv->d_dev.d_addmac = emac_addmac; /* Add multicast MAC address */
priv->d_dev.d_rmmac = emac_rmmac; /* Remove multicast MAC address */
#endif
priv->d_dev.d_private = (void*)g_emac; /* Used to recover private state from dev */
priv->d_dev.d_private = priv; /* Used to recover private state from dev */
/* Create a watchdog for timing polling for and timing of transmissions */

View File

@ -450,7 +450,7 @@ config ARCH_BOARD_LPC4088_DEVKIT
select ARCH_HAVE_BUTTONS
select ARCH_HAVE_IRQBUTTONS
---help---
Embedded Artists LPC4088 Developer's Kit. See
Embedded Artists LPC4088 Developer's Kit. See
https://www.embeddedartists.com/products/lpc4088-developers-kit/
for further information. This board uses the NXP LPC4088FET208 MCU.
@ -461,7 +461,7 @@ config ARCH_BOARD_LPC4088_QUICKSTART
select ARCH_HAVE_BUTTONS
select ARCH_HAVE_IRQBUTTONS
---help---
Embedded Artists LPC4088 QuickStart Board. See
Embedded Artists LPC4088 QuickStart Board. See
https://www.embeddedartists.com/products/lpc4088-quickstart-board/
for further information. This board uses the NXP LPC4088FET208 MCU.