summaryrefslogtreecommitdiff
path: root/board/pn62/pn62.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pn62/pn62.c')
-rw-r--r--board/pn62/pn62.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/pn62/pn62.c b/board/pn62/pn62.c
index 377aaa8..b2f348d 100644
--- a/board/pn62/pn62.c
+++ b/board/pn62/pn62.c
@@ -26,6 +26,7 @@
#include "pn62.h"
+DECLARE_GLOBAL_DATA_PTR;
static int get_serial_number (char *string, int size);
static int get_mac_address (int id, u8 * mac, char *string, int size);
@@ -122,8 +123,6 @@ void pci_init_board (void)
int misc_init_r (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
char str[20];
u8 mac[6];