summaryrefslogtreecommitdiff
path: root/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2010-12-22 09:30:15 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-20 15:17:42 -0800
commita44d42367fe73e7720d309c4bde5ac79a6cd64a7 (patch)
tree16fd0e22925f8098e4745bac06de77779cb69daa /drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
parent1e6610862c96fbe84534507e58014b50e0a1df5b (diff)
downloadlinux-a44d42367fe73e7720d309c4bde5ac79a6cd64a7.tar.gz
staging: brcm80211: last nail into proto/ethernet.h
cleaned up last artifacts used from proto/ethernet.h and subsequently the file can be removed. Reviewed-by: Brett Rudley <brudley@broadcom.com> Reviewed-by: Henry Ptasinski <henryp@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Reviewed-by: Dowan Kim <dowan@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c')
-rw-r--r--drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c b/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
index c3f18bb3b27c..2cd80114d385 100644
--- a/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
+++ b/drivers/staging/brcm80211/brcmfmac/dhd_custom_gpio.c
@@ -149,9 +149,9 @@ int dhd_custom_get_mac_address(unsigned char *buf)
#ifdef EXAMPLE_GET_MAC
/* EXAMPLE code */
{
- struct ether_addr ea_example = {
+ u8 ea_example[ETH_ALEN] = {
{0x00, 0x11, 0x22, 0x33, 0x44, 0xFF} };
- bcopy((char *)&ea_example, buf, sizeof(struct ether_addr));
+ bcopy((char *)ea_example, buf, ETH_ALEN);
}
#endif /* EXAMPLE_GET_MAC */