commit | f252974eaa64f64b940894f24bfa162a8e7f6b0d | [log] [tgz] |
---|---|---|
author | Jeremy Linton <jeremy.linton@arm.com> | Thu Sep 01 15:15:09 2016 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 02 17:28:33 2016 -0700 |
tree | c97f637bcf2ad4599b2dea546c87b508219236ce | |
parent | a85f00c36ef53ea3cb5ebf3dee4ce9cc6726671f [diff] |
net: smsc911x: Move interrupt allocation to open/stop The /proc/irq/xx information is incorrect for smsc911x because the request_irq is happening before the register_netdev has the proper device name. Moving it to the open also fixes the case of when the device is renamed. Reported-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Tested-by: Will Deacon <will.deacon@arm.com> Signed-off-by: David S. Miller <davem@davemloft.net>