diff options
Diffstat (limited to 'examples/standalone/smc911x_eeprom.c')
-rw-r--r-- | examples/standalone/smc911x_eeprom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/standalone/smc911x_eeprom.c b/examples/standalone/smc911x_eeprom.c index 270588bcf5e..9bd9a6efa30 100644 --- a/examples/standalone/smc911x_eeprom.c +++ b/examples/standalone/smc911x_eeprom.c @@ -17,6 +17,7 @@ #include <common.h> #include <console.h> #include <exports.h> +#include <net.h> #include <linux/ctype.h> #include <linux/types.h> #include "../drivers/net/smc911x.h" @@ -465,7 +466,7 @@ static char *getline(void) /** * smc911x_eeprom - our application's main() function */ -int smc911x_eeprom(int argc, char * const argv[]) +int smc911x_eeprom(int argc, char *const argv[]) { /* Avoid initializing on stack as gcc likes to call memset() */ struct eth_device dev; |