Skip to content

Commit 755ccb9

Browse files
ffainellidavem330
authored andcommitted
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>
1 parent 1ed0d56 commit 755ccb9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/linux/brcmphy.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef _LINUX_BRCMPHY_H
2+
#define _LINUX_BRCMPHY_H
3+
14
#define PHY_ID_BCM50610 0x0143bd60
25
#define PHY_ID_BCM50610M 0x0143bd70
36
#define PHY_ID_BCM5241 0x0143bc30
@@ -29,3 +32,5 @@
2932
#define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000
3033
#define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00008000
3134
#define PHY_BCM_FLAGS_VALID 0x80000000
35+
36+
#endif /* _LINUX_BRCMPHY_H */

0 commit comments

Comments
 (0)