summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-08-18 20:13:03 -0700
committerDavid S. Miller <davem@davemloft.net>2009-08-18 20:13:03 -0700
commit23428e6b4649adfbdaa6a0c93fc6d652bf5f9d44 (patch)
tree1d972178860737f5832ca90c709455a81afe011e /include
parent1a8887d81ac4bbee6153b4bc9b9f9e099fb5f07e (diff)
downloadop-kernel-dev-23428e6b4649adfbdaa6a0c93fc6d652bf5f9d44.zip
op-kernel-dev-23428e6b4649adfbdaa6a0c93fc6d652bf5f9d44.tar.gz
mdio: mdio_if_info::mmds should not be __bitwise
I misunderstood the meaning of __bitwise. In practice it makes sparse warn about every use of mmds which is certainly not what we want. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index cfdf1df..c779b49 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -304,7 +304,7 @@ static inline __u16 mdio_phy_id_devad(int phy_id)
*/
struct mdio_if_info {
int prtad;
- u32 __bitwise mmds;
+ u32 mmds;
unsigned mode_support;
struct net_device *dev;
OpenPOWER on IntegriCloud