commit | e7f4dc3536a40097f95103ddf98dd55b3a980f5b | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Jan 06 20:11:15 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 07 14:31:26 2016 -0500 |
tree | 1b0498a5a9f306a92df28e1e2e632aa747383cd7 | |
parent | 35d2aeac9810ca717a72a4ff0d8a20d349e73e55 [diff] |
mdio: Move allocation of interrupts into core Have mdio_alloc() create the array of interrupt numbers, and initialize it to POLLING. This is what most MDIO drivers want, so allowing code to be removed from the drivers. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>