mtd: mtk-nor: Drop bogus __init from mtk_nor_init()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 15 Jan 2016 13:46:29 +0000 (14:46 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 15 Jan 2016 17:47:00 +0000 (09:47 -0800)
commit92752d9974882e2e5384e92668f02a134f9c7463
treefd55c40eb054b1910384cc2305a9583c2e817402
parent9146cbd52b11d4ade62dba8f238ec5e421c3fa2b
mtd: mtk-nor: Drop bogus __init from mtk_nor_init()

WARNING: drivers/mtd/spi-nor/mtk-quadspi.o(.text+0x77e): Section mismatch in reference from the function mtk_nor_drv_probe() to the function .init.text:mtk_nor_init()
The function mtk_nor_drv_probe() references
the function __init mtk_nor_init().
This is often because mtk_nor_drv_probe lacks a __init
annotation or the annotation of mtk_nor_init is wrong.

Drop the bogus __init from mtk_nor_init() to kill this warning.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/mtk-quadspi.c