[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 <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
b918f6e62c
commit
d3e5a938e7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue