spi.c:scan_boardinfo() mustn't be __init_or_module
PATCH 1/1 spi.c:scan_boardinfo() mustn't be __init_or_module
This patch fixes the following section mismatch:
<-- snip -->
...
MODPOST vmlinux
WARNING: drivers/built-in.o(.text+0x889735): Section mismatch: reference to .init.text:scan_boardinfo (between 'spi_register_master' and '__unregister')
...
<-- snip -->
---
drivers/spi/spi.c renamed from drivers/spi/spi.c.old +1 -2
@@ -302,8 +302,7 @@* creates board info from kernel command lines */ -static void __init_or_module -scan_boardinfo (struct spi_master *master) +static void scan_boardinfo (struct spi_master *master) {struct boardinfo *bi;struct device *dev = master->cdev.dev;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
Quoted 4 lines · Adrian Bunk
This patch fixes the following section mismatch:
<-- snip -->
Quoted 8 lines
...
MODPOST vmlinux
WARNING: drivers/built-in.o(.text+0x889735): Section mismatch: reference to .init.text:scan_boardinfo (between 'spi_register_master' and '__unregister')
...<-- snip -->
Signed-off-by Adrian Bunk <[email protected]>
Quoted 6 lines
---
drivers/spi/spi.c line 308
Quoted 9 lines
drivers/spi/spi.c renamed from drivers/spi/spi.c.old +1
-2@@ -302,8 +302,7 @@* creates board info from kernel command lines */ -static void __init_or_module -scan_boardinfo (struct spi_master *master) +static void scan_boardinfo (struct spi_master *master) {struct boardinfo *bi;struct device *dev = master->cdev.dev;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/