summaryrefslogtreecommitdiff
path: root/include/linux/brcmphy.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-05-15 08:00:25 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-15 14:42:15 -0700
commit755ccb9d577b95b43537cfeb36da59140412f858 (patch)
tree9fdd8b6ce9bccf72476583974bfc3bfecfe02109 /include/linux/brcmphy.h
parent1ed0d56c1d5ff07a5d57e6467621f9a0c09b0b65 (diff)
downloadlwn-755ccb9d577b95b43537cfeb36da59140412f858.tar.gz
lwn-755ccb9d577b95b43537cfeb36da59140412f858.zip
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>
Diffstat (limited to 'include/linux/brcmphy.h')
-rw-r--r--include/linux/brcmphy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h
index b840a4960282..677b4f01b2d0 100644
--- a/include/linux/brcmphy.h
+++ b/include/linux/brcmphy.h
@@ -1,3 +1,6 @@
+#ifndef _LINUX_BRCMPHY_H
+#define _LINUX_BRCMPHY_H
+
#define PHY_ID_BCM50610 0x0143bd60
#define PHY_ID_BCM50610M 0x0143bd70
#define PHY_ID_BCM5241 0x0143bc30
@@ -29,3 +32,5 @@
#define PHY_BRCM_CLEAR_RGMII_MODE 0x00004000
#define PHY_BRCM_DIS_TXCRXC_NOENRGY 0x00008000
#define PHY_BCM_FLAGS_VALID 0x80000000
+
+#endif /* _LINUX_BRCMPHY_H */