From: Andrew Morton Date: Fri, 3 Nov 2006 06:07:20 +0000 (-0800) Subject: [PATCH] spi section fix X-Git-Tag: v2.6.19-rc5~38 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d3e5a938e7ed718f6d191e8b6b176fcfeb88a294;p=linux-2.6-omap-h63xx.git [PATCH] spi section fix WARNING: vmlinux - Section mismatch: reference to .init.text:spi_register_board_info from __ksymtab_gpl between '__ksymtab_spi_register_board_info' (at offset 0xc032f7d0) and '__ksymtab_spi_alloc_master' Fix this by removing the export. Acked-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 146298ad737..c3c0626f550 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -281,7 +281,6 @@ spi_register_board_info(struct spi_board_info const *info, unsigned n) up(&board_lock); return 0; } -EXPORT_SYMBOL_GPL(spi_register_board_info); /* FIXME someone should add support for a __setup("spi", ...) that * creates board info from kernel command lines