diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-12 22:55:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-12 23:15:44 +0200 |
commit | 8f728d7934c77f63e89abcc96b46a7a98416d5c1 (patch) | |
tree | f11bb662780beb5f9d6f1b0e1e959f07702c8314 /drivers/net/wireless/iwlegacy/commands.h | |
parent | igmp: fix new sparse errors (diff) | |
download | linux-8f728d7934c77f63e89abcc96b46a7a98416d5c1.tar.xz linux-8f728d7934c77f63e89abcc96b46a7a98416d5c1.zip |
sh_eth: split 'sh_eth_netdev_ops'
Commit 9f86134155047720a3685cda21467f68695152d2 (sh_eth: remove SH_ETH_HAS_TSU)
removes 'const' from 'sh_eth_netdev_ops' and modifies it in case TSU registers
are present. I've originally suggested to Iwamatsu-san to split this structure
in two instead and afterwards Dave M. suggested doing the same.
Split 'sh_eth_netdev_ops_tsu' from 'sh_eth_netdev_ops', making both 'const', and
assigning 'ndev->detdev_ops' depending on the presence of TSU registers.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/commands.h')
0 files changed, 0 insertions, 0 deletions