linux/drivers/isdn/hisax
Al Viro 56d74dd5f7 tricky one: hisax sections
a) hisax_init_pcmcia() needs to be defined only if we have
   CONFIG_HOTPLUG (no PCMCIA support otherwise) and can be declared
   __devinit.

b) HiSax_inithardware() can go __init

c) hisax_register() is passing to checkcard() full-blown hisax_cs_setup_card():
	checkcard(i, id, NULL, hisax_d_if->owner, hisax_cs_setup_card);
   The problem with it is that
	* hisax_cs_setup_card() is __devinit
	* hisax_register() is not
	* hisax_cs_setup_card() is a switch from hell, calling a lot of
	  setup_some_weirdcard() depending on card->typ.  _These_ are also
	  __devinit.

   However, in hisax_register() we have card->typ equal to
   ISDN_CTYPE_DYNAMIC, which reduces hisax_cs_setup_card() to "nevermind
   all that crap, just do nothing and return 2".  So we add a
   trimmed-down callback doing just that and passed to checkcard() by
   hisax_register().  _This_ is non-init (we can stand the impact on
   .text size).

Voila - no section warnings from drivers/isdn

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-30 10:03:37 -08:00
..
amd7930_fn.c [ISDN]: fix section mismatch warning in enpci_card_msg 2008-02-07 18:20:29 -08:00
amd7930_fn.h
arcofi.c
arcofi.h
asuscom.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
avm_a1.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
avm_a1p.c isdn: fix section mismatch warning for ISACVer 2008-02-09 23:29:28 -08:00
avm_pci.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
avma1_cs.c pcmcia: deprecate CS_SUCCESS 2008-08-23 02:29:26 +02:00
bkm_a4t.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
bkm_a8.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
bkm_ax.h
callc.c
config.c tricky one: hisax sections 2008-11-30 10:03:37 -08:00
diva.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
elsa.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
elsa_cs.c pcmcia: deprecate CS_SUCCESS 2008-08-23 02:29:26 +02:00
elsa_ser.c [ISDN] minor irq handler cleanups 2008-04-20 19:10:17 -04:00
enternow_pci.c
fsm.c
fsm.h
gazel.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
hfc4s8s_l1.c
hfc4s8s_l1.h
hfc_2bds0.c
hfc_2bds0.h
hfc_2bs0.c
hfc_2bs0.h
hfc_pci.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
hfc_pci.h
hfc_sx.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
hfc_sx.h
hfc_usb.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
hfc_usb.h
hfcscard.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
hisax.h [ISDN] minor irq handler cleanups 2008-04-20 19:10:17 -04:00
hisax_cfg.h [ISDN] HiSax: modularization prep 2008-04-20 18:22:30 -04:00
hisax_debug.h isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
hisax_fcpcipnp.c pnp: fix the fcpnp_driver declaration to only exist if CONFIG_PNP=y 2008-07-26 12:00:02 -07:00
hisax_fcpcipnp.h
hisax_if.h
hisax_isac.c
hisax_isac.h
hscx.c
hscx.h
hscx_irq.c
icc.c
icc.h
ipac.h
ipacx.c
ipacx.h
isac.c isdn: fix section mismatch warning for ISACVer 2008-02-09 23:29:28 -08:00
isac.h
isar.c isdn: fix section mismatch warnings in isac.c and isar.c 2008-02-09 23:28:12 -08:00
isar.h
isdnhdlc.c
isdnhdlc.h
isdnl1.c
isdnl1.h
isdnl2.c
isdnl2.h
isdnl3.c
isdnl3.h
isurf.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
ix1_micro.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
jade.c
jade.h
jade_irq.c
Kconfig
l3_1tr6.c
l3_1tr6.h
l3dss1.c
l3dss1.h
l3ni1.c
l3ni1.h
lmgr.c
Makefile
mic.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
netjet.c
netjet.h [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
niccy.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
nj_s.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
nj_u.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
q931.c
s0box.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
saphir.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
sedlbauer.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
sedlbauer_cs.c pcmcia: pcmcia_config_loop() improvement by passing vcc 2008-08-23 01:22:52 +02:00
sportster.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
st5481.h Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
st5481_b.c Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
st5481_d.c Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
st5481_init.c
st5481_usb.c Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
tei.c
teleint.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
teles0.c
teles3.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
teles_cs.c pcmcia: deprecate CS_SUCCESS 2008-08-23 02:29:26 +02:00
telespci.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
w6692.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
w6692.h