aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/spi/spi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 018884d7a5fa..b05de30b5d9b 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)
303 * creates board info from kernel command lines 303 * creates board info from kernel command lines
304 */ 304 */
305 305
306static void __init_or_module 306static void scan_boardinfo(struct spi_master *master)
307scan_boardinfo(struct spi_master *master)
308{ 307{
309 struct boardinfo *bi; 308 struct boardinfo *bi;
310 struct device *dev = master->cdev.dev; 309 struct device *dev = master->cdev.dev;