diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-03 19:41:39 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-03-30 12:38:57 +0100 |
commit | 406e21b10db69e05bd909727fd8b6f4f4866e810 (patch) | |
tree | 9efe3c83aafe8a885f0afdfb2a910fabe4a5e5f5 /drivers/net/phy/phy_device.c | |
parent | 5ecdbb6b1f782f468214ef5bdb89d6ebe373ea44 (diff) |
net: linkmode: make linkmode_test_bit() take const pointer
linkmode_test_bit() does not modify the address; test_bit() is also
declared const volatile for the same reason. There's no need for
linkmode_test_bit() to be any different, and allows implementation of
helpers that take a const linkmode pointer.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
0 files changed, 0 insertions, 0 deletions