Skip to content

Commit

Permalink
broadcom: add include guards to include/linux/brcmphy.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed May 15, 2013
1 parent 1ed0d56 commit 755ccb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/linux/brcmphy.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 */

0 comments on commit 755ccb9

Please sign in to comment.