Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

broadcom: add include guards to include/linux/brcmphy.h

include/linux/brcmphy.h is currently not protected against double
inclusion, add ifdefs guard to fix that.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Florian Fainelli and committed by
David S. Miller
755ccb9d 1ed0d56c

+5
+5
include/linux/brcmphy.h
··· 1 + #ifndef _LINUX_BRCMPHY_H 2 + #define _LINUX_BRCMPHY_H 3 + 1 4 #define PHY_ID_BCM50610 0x0143bd60 2 5 #define PHY_ID_BCM50610M 0x0143bd70 3 6 #define PHY_ID_BCM5241 0x0143bc30 ··· 32 29 #define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000 33 30 #define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00008000 34 31 #define PHY_BCM_FLAGS_VALID 0x80000000 32 + 33 + #endif /* _LINUX_BRCMPHY_H */