Commit:     149a6501f90df457d75a1954dd5a29434a182e6a
Parent:     8b6f50ef1d5cc86b278eb42bc91630fad455fb10
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Sat Jul 21 04:37:52 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sat Jul 21 17:49:16 2007 -0700

    spi.c:scan_boardinfo() mustn't be __init_or_module
    WARNING: drivers/built-in.o(.text+0x889735): Section mismatch: reference to 
.init.text:scan_boardinfo (between 'spi_register_master' and '__unregister')
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Acked-by: David Brownell <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/spi/spi.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 018884d..b05de30 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -303,8 +303,7 @@ spi_register_board_info(struct spi_board_info const *info, 
unsigned n)
  * 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->;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to