mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 17:33:01 +00:00
78a9c9c974
at91ether_probe lives in .init.text, so using platform_driver_register to register it is wrong because binding a device after the init memory is discarded (e.g. via sysfs) results in an oops. As requested by David Brownell platform_driver_probe is used instead of moving the probe function to .devinit.text as proposed initially. This saves some memory, but devices registered after the driver is probed are not bound (probably there are none) and binding via sysfs isn't possible. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Andrew Victor <linux@maxim.org.za> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
am79c961a.c | ||
am79c961a.h | ||
at91_ether.c | ||
at91_ether.h | ||
ep93xx_eth.c | ||
ether1.c | ||
ether1.h | ||
ether3.c | ||
ether3.h | ||
etherh.c | ||
ixp4xx_eth.c | ||
Kconfig | ||
ks8695net.c | ||
ks8695net.h | ||
Makefile | ||
w90p910_ether.c |