linux_dsm_epyc7002/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 fix file specification in comments 2006-10-03 23:01:26 +02:00
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_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
elsa.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
enternow_pci.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
fsm.c [PATCH] isdn: replace kmalloc+memset with kzalloc 2006-12-08 08:29:01 -08:00
fsm.h
gazel.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
hfc4s8s_l1.c [PATCH] ISDN: Rename special macro CONFIG_HISAX_HFC4S8S_PCIMEM 2007-02-12 09:48:35 -08:00
hfc4s8s_l1.h Fix misc .c/.h comment typos 2006-11-30 05:24:39 +01:00
hfc_2bds0.c more trivial signedness fixes in drivers 2007-10-14 12:41:52 -07:00
hfc_2bds0.h
hfc_2bs0.c [PATCH] hisax: fix usage of __init* 2006-07-10 13:24:15 -07:00
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 hisax: update hfc_usb driver 2007-08-21 10:14:28 -07:00
hfcscard.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07: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 long vs. unsigned long - low-hanging fruits in drivers 2007-10-14 12:41:51 -07:00
hisax_isac.c [PATCH] drivers/isdn/*: trivial vsnprintf() conversion 2006-12-08 08:29:01 -08:00
hisax_isac.h
hisax.h [ISDN] minor irq handler cleanups 2008-04-20 19:10:17 -04:00
hscx_irq.c
hscx.c
hscx.h
icc.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
icc.h [PATCH] hisax: fix usage of __init* 2006-07-10 13:24:15 -07:00
ipac.h
ipacx.c [PATCH] hisax: fix usage of __init* 2006-07-10 13:24:15 -07:00
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 Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
isdnhdlc.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
isdnl1.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
isdnl1.h [PATCH] drivers/isdn/hisax/: proper prototypes 2007-02-12 09:48:34 -08:00
isdnl2.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
isdnl2.h
isdnl3.c [PATCH] drivers/isdn/hisax/: proper prototypes 2007-02-12 09:48:34 -08:00
isdnl3.h [PATCH] drivers/isdn/hisax/: proper prototypes 2007-02-12 09:48:34 -08:00
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_irq.c
jade.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
jade.h
Kconfig PCI: Add Kconfig option to disable deprecated pci_find_* API 2007-11-05 13:35:17 -08:00
l3_1tr6.c
l3_1tr6.h
l3dss1.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
l3dss1.h
l3ni1.c
l3ni1.h
lmgr.c
Makefile [PATCH] ISDN: Remove defunct test emulator 2007-02-12 09:48:34 -08:00
mic.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04:00
netjet.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
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_cs.c pcmcia: pcmcia_config_loop() improvement by passing vcc 2008-08-23 01:22:52 +02:00
sedlbauer.c isdn: replace remaining __FUNCTION__ occurrences 2008-04-28 08:58:34 -07:00
sportster.c [ISDN] Hisax: eliminate many unnecessary references to CardType[] 2008-04-20 18:22:31 -04: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 HiSax: fix error checking for hisax_register()] 2007-05-23 20:14:14 -07:00
st5481_usb.c Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
st5481.h 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 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
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