projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8baf560
)
[Blackfin] arch: disable bfin_get_ether_addr fucntion for boards when do not use...
author
Martin Strubel
<hackfin@section5.ch>
Mon, 24 Dec 2007 11:12:32 +0000
(19:12 +0800)
committer
Bryan Wu
<bryan.wu@analog.com>
Mon, 24 Dec 2007 11:12:32 +0000
(19:12 +0800)
Signed-off-by: Martin Strubel <hackfin@section5.ch>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-bf537/boards/generic_board.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-bf537/boards/generic_board.c
b/arch/blackfin/mach-bf537/boards/generic_board.c
index 09f4bfbd23506c4edb5313d28c7a8c22b4e61ed6..7fd873f59242125759d10d698191bfec17170b84 100644
(file)
--- a/
arch/blackfin/mach-bf537/boards/generic_board.c
+++ b/
arch/blackfin/mach-bf537/boards/generic_board.c
@@
-733,9
+733,11
@@
void native_machine_restart(char *cmd)
bfin_gpio_reset_spi0_ssel1();
}
+#if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE)
void bfin_get_ether_addr(char *addr)
{
random_ether_addr(addr);
printk(KERN_WARNING "%s:%s: Setting Ethernet MAC to a random one\n", __FILE__, __func__);
}
EXPORT_SYMBOL(bfin_get_ether_addr);
+#endif