]> git.baikalelectronics.ru Git - kernel.git/commit
Fix section mismatch in spi-pl022.c
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 13 Feb 2012 09:52:29 +0000 (09:52 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 13 Feb 2012 18:57:58 +0000 (11:57 -0700)
commit5de661c34153f26aa754641e3240cdcf670fe4d2
treefd79de37e21e9a5553f719b907a660d8ae33acc6
parentcc381c1506d2adfe03dd664d3d15899d18400db7
Fix section mismatch in spi-pl022.c

WARNING: drivers/spi/built-in.o(.devinit.text+0xdb8): Section mismatch in reference from the function pl022_probe() to the function .init.text:pl022_dma_probe()
The function __devinit pl022_probe() references
a function __init pl022_dma_probe().
If pl022_dma_probe is only used by pl022_probe then
annotate pl022_dma_probe with a matching annotation.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-pl022.c