Commit d3e5a938 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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: default avatarDavid Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b918f6e6
...@@ -281,7 +281,6 @@ spi_register_board_info(struct spi_board_info const *info, unsigned n) ...@@ -281,7 +281,6 @@ spi_register_board_info(struct spi_board_info const *info, unsigned n)
up(&board_lock); up(&board_lock);
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(spi_register_board_info);
/* FIXME someone should add support for a __setup("spi", ...) that /* FIXME someone should add support for a __setup("spi", ...) that
* creates board info from kernel command lines * creates board info from kernel command lines
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment