summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-01 15:55:33 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-01 15:55:33 -0600
commitf0a06710b82034475a71f20fa427c7ce46bca766 (patch)
treebde9b3b33d509a8879d9f455cae0e39fb164852f
parent82b8d60cd06bb2bd1540bec907b36f090a8ea0ce (diff)
downloadnuttx-f0a06710b82034475a71f20fa427c7ce46bca766.tar.gz
nuttx-f0a06710b82034475a71f20fa427c7ce46bca766.tar.bz2
nuttx-f0a06710b82034475a71f20fa427c7ce46bca766.zip
Cosmetic change to file formatting
-rw-r--r--nuttx/arch/arm/src/tiva/tm4c_ethernet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/tiva/tm4c_ethernet.c b/nuttx/arch/arm/src/tiva/tm4c_ethernet.c
index 74ae68bcd..001f63604 100644
--- a/nuttx/arch/arm/src/tiva/tm4c_ethernet.c
+++ b/nuttx/arch/arm/src/tiva/tm4c_ethernet.c
@@ -3938,13 +3938,13 @@ int tiva_ethinitialize(int intf)
priv->txpoll = wd_create(); /* Create periodic poll timer */
priv->txtimeout = wd_create(); /* Create TX timeout timer */
+#ifdef CONFIG_TIVA_BOARDMAC
/* If the board can provide us with a MAC address, get the address
* from the board now. The MAC will not be applied until tiva_ifup()
* is called (and the MAC can be overwritten with a netdev ioctl call).
*/
-#ifdef CONFIG_TIVA_BOARDMAC
- tiva_ethernetmac(&priv->dev.d_mac);
+ tiva_ethernetmac(&priv->dev.d_mac);
#endif
/* Enable power and clocking to the Ethernet MAC