kernel-ark/drivers
Andrew Morton 27f931dac9 [PATCH] s1d13xxxfb linkage fix
s1d13xxxfb_remove() is referenced from s1d13xxxfb_probe(), which is marked
__devinit().  So s1d13xxxfb_remove() cannot be marked __devexit.

Does this all make sense?  Clearly the __devexit section will still be in
core when the __devinit code is run, if the driver was loaded as a module.

But I suppose that if the driver is statically linked, the __devexit section
might be dropped early in boot.  Still, we wouldn't drop __devexit prior to
initcall completion, at which point the __devinit code has all been run
anyway.

verdict: this code was legal and made sense.  Is this a generic problem, or an
arm-specific problem?

  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
`.exit.text' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o

Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 19:07:39 -07:00
..
acorn
acpi
atm
base
block
bluetooth
cdrom
char [PATCH] mips: add vr41xx gpio support 2005-06-21 18:46:32 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
i2c
ide [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00
ieee1394
infiniband
input
isdn
macintosh
mca
md
media
message
misc [PATCH] ibmasm driver: fix race in command refcount logic 2005-06-21 19:07:35 -07:00
mmc
mtd
net [PATCH] m32r: Remove include/asm-m32r/m32102peri.h 2005-06-21 19:07:31 -07:00
nubus
oprofile
parisc
parport
pci
pcmcia [PATCH] m32r: Update m32r_cfc.[ch] to support Mappi-III platform 2005-06-21 19:07:30 -07:00
pnp
s390 [PATCH] s390: cio max channels checks 2005-06-21 19:07:32 -07:00
sbus
scsi
serial [PATCH] ioc4: PCI bus speed detection 2005-06-21 18:46:32 -07:00
sh
sn [PATCH] ioc4: PCI bus speed detection 2005-06-21 18:46:32 -07:00
tc
telephony
usb
video [PATCH] s1d13xxxfb linkage fix 2005-06-21 19:07:39 -07:00
w1
zorro
Kconfig [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00
Makefile [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00