summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bcm63xx.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-07-20 12:31:43 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-22 21:07:28 +0200
commit24ab32751183d4063d195c943af3cd6f1cad6794 (patch)
tree9808f356a99c4afe37f0b52bc9e6b9adae2f1663 /drivers/spi/spi-bcm63xx.c
parentspi: omap2-mcspi: Fix the below warning (diff)
downloadlinux-24ab32751183d4063d195c943af3cd6f1cad6794.tar.xz
linux-24ab32751183d4063d195c943af3cd6f1cad6794.zip
spi/omap2: mark omap2_mcspi_master_setup as __devinit
This warning recently appeared with omap2plus_defconfig: WARNING: drivers/spi/built-in.o(.devinit.text+0x3c4): Section mismatch in reference from the function omap2_mcspi_probe() to the function .init.text:omap2_mcspi_master_setup() The function __devinit omap2_mcspi_probe() references a function __init omap2_mcspi_master_setup(). If omap2_mcspi_master_setup is only used by omap2_mcspi_probe then annotate omap2_mcspi_master_setup with a matching annotation. The fix is obviously to mark the omap2_mcspi_master_setup function as __devinit, rather than __init. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions