forked from Minki/linux
eca9c47bd3
This patch moves two functions from .devexit to .text, which are called on the probe error path. Also a function which is called by probe is moved from .text to .devinit. WARNING: vmlinux.o(.devinit.text+0x2ca5): Section mismatch in reference from the function via_pci_probe() to the function devexit.text:via_teardown_subdevs() The function __devinit via_pci_probe() references a function __devexit via_teardown_subdevs(). This is often seen when error handling in the init function uses functionality in the exit path. The fix is often to remove the __devexit annotation of via_teardown_subdevs() so it may be used outside an exit section. WARNING: vmlinux.o(.devinit.text+0x2cb1): Section mismatch in reference from the function via_pci_probe() to the function devexit.text:via_pci_teardown_mmio() The function __devinit via_pci_probe() references a function __devexit via_pci_teardown_mmio(). This is often seen when error handling in the init function uses functionality in the exit path. The fix is often to remove the __devexit annotation of via_pci_teardown_mmio() so it may be used outside an exit section. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> |
||
---|---|---|
.. | ||
accel.c | ||
accel.h | ||
chip.h | ||
debug.h | ||
dvi.c | ||
dvi.h | ||
global.c | ||
global.h | ||
hw.c | ||
hw.h | ||
ioctl.c | ||
ioctl.h | ||
lcd.c | ||
lcd.h | ||
lcdtbl.h | ||
Makefile | ||
share.h | ||
tbl1636.c | ||
tbl1636.h | ||
tblDPASetting.c | ||
tblDPASetting.h | ||
via_i2c.c | ||
via_modesetting.c | ||
via_modesetting.h | ||
via_utility.c | ||
via_utility.h | ||
via-core.c | ||
via-gpio.c | ||
viafbdev.c | ||
viafbdev.h | ||
viamode.c | ||
viamode.h | ||
vt1636.c | ||
vt1636.h |