android_kernel_xiaomi_sm8350/drivers/net/sk98lin
Stephen Hemminger 17fa6e2f11 [PATCH] sk98lin: routine called from probe marked __init
Sk98lin driver has a routine marked __init that is called from
the probe code. If using pci hotplug, this could be called after
the initialization so it needs to be marked __devinit.
So if you hot added a sk98lin board, the kernel would crash.
I don't have hot plug hardware to actually try this feat.

Also, there are two routines, only called from SkGeBoardInit that can
be marked __devinit.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2006-01-09 10:32:40 -05:00
..
h [PATCH] sk98lin: remove redundant fields in device info 2005-12-01 02:22:52 -05:00
Makefile [PATCH] sk98lin: remove /proc interface 2005-12-01 02:22:52 -05:00
skaddr.c
skdim.c
skethtool.c [PATCH] sk98lin: allow ethtool checksum on/off per port 2005-12-01 02:22:52 -05:00
skge.c [PATCH] sk98lin: routine called from probe marked __init 2006-01-09 10:32:40 -05:00
skgehwt.c
skgeinit.c [PATCH] sk98lin: fix workaround for yukon-lite chipset (> rev 7) 2005-07-31 00:52:56 -04:00
skgemib.c
skgepnmi.c
skgesirq.c
ski2c.c
sklm80.c
skqueue.c
skrlmt.c
sktimer.c
skvpd.c
skxmac2.c [PATCH] sk98lin: fix workaround for yukon-lite chipset (> rev 7) 2005-07-31 00:52:56 -04:00