diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-07-17 20:03:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-18 21:10:57 +0300 |
commit | d6c5e6aff50cadeab0b7e381ce50be836ae55097 (patch) | |
tree | c37e048a7004c5d428859362dcc097250c77105b /drivers/thermal/rcar_thermal.c | |
parent | 74e60241ce140ac8c312cde1dc823681c6a86f99 (diff) | |
download | linux-d6c5e6aff50cadeab0b7e381ce50be836ae55097.tar.xz |
net: dsa: mv88e6xxx: add number of Global 2 IRQs
Similarly to g1_irqs, add a g2_irqs member to the info structure to
indicates the presence of the Global 2 Interrupt Source and Mask
registers.
At the same time, provide helpers and document the registers since they
differ a bit between 88E6352 and 88E6390 families.
This allows us to get rid of the MV88E6XXX_FLAG_G2_INT flag.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/thermal/rcar_thermal.c')
0 files changed, 0 insertions, 0 deletions