diff options
author | Vladimir Oltean | 2021-03-10 14:03:43 +0200 |
---|---|---|
committer | David S. Miller | 2021-03-10 13:14:15 -0800 |
commit | 27f9025d49416e35bd7f1cedc9edd0388612501f (patch) | |
tree | 4572a39d75d8b6285fdd0e5587a2013d34dac130 /drivers/ide/sl82c105.c | |
parent | 24be14e3260ad8f5b926da8ad0bc0067435e7340 (diff) |
net: enetc: save the mode register address inside struct enetc_cbdr
enetc_clear_cbdr depends on struct enetc_hw because it must disable the
ring through a register write. We'd like to remove that dependency, so
let's do what's already done with the producer and consumer indices,
which is to save the iomem address in a variable kept in struct enetc_cbdr.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/sl82c105.c')
0 files changed, 0 insertions, 0 deletions