diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-31 18:32:53 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-31 18:32:53 +0200 |
commit | d87080b721e4f8dca977af7571c5338ae7bb8db7 (patch) | |
tree | 514fc21eec39a2dd57f7aea516844a4400f8f140 /board/pn62 | |
parent | f6dbbe986481cff01334c64cacb971a5f237a9a9 (diff) | |
download | bootable_bootloader_goldelico_gta04-d87080b721e4f8dca977af7571c5338ae7bb8db7.zip bootable_bootloader_goldelico_gta04-d87080b721e4f8dca977af7571c5338ae7bb8db7.tar.gz bootable_bootloader_goldelico_gta04-d87080b721e4f8dca977af7571c5338ae7bb8db7.tar.bz2 |
GCC-4.x fixes: clean up global data pointer initialization for all boards.
Diffstat (limited to 'board/pn62')
-rw-r--r-- | board/pn62/pn62.c | 3 |
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]; |