diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2016-08-10 02:22:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-10 17:27:40 -0700 |
commit | e38b5a3db84c75c418d8c08863e005bda077f382 (patch) | |
tree | 09108c15e1002e12003e520e6e267da062f7cebe /net/switchdev/switchdev.c | |
parent | 2c836bd9a247132ff478857ec7b41a740df5ab64 (diff) |
net; ethernet: ti: cpsw: move irq stuff under cpsw_common
The irq data are common for net devs in dual_emac mode. So no need to
hold these data in every priv struct, move them under cpsw_common.
Also delete irq_num var, as after optimization it's not needed.
Correct number of irqs to 2, as anyway, driver is using only 2,
at least for now.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions