summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-02-13 09:52:29 +0000
committerGrant Likely <grant.likely@secretlab.ca>2012-02-13 11:57:58 -0700
commita5ab6291b1fc73e0dc71caf2eaa0de1de7b11aaa (patch)
treefd79de37e21e9a5553f719b907a660d8ae33acc6 /drivers/spi
parentd65b4e98d7ea3038b767b70fe8be959b2913f16d (diff)
downloadop-kernel-dev-a5ab6291b1fc73e0dc71caf2eaa0de1de7b11aaa.zip
op-kernel-dev-a5ab6291b1fc73e0dc71caf2eaa0de1de7b11aaa.tar.gz
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-pl022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index 2f9cb43..f37ad22 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -1083,7 +1083,7 @@ err_alloc_rx_sg:
return -ENOMEM;
}
-static int __init pl022_dma_probe(struct pl022 *pl022)
+static int __devinit pl022_dma_probe(struct pl022 *pl022)
{
dma_cap_mask_t mask;
OpenPOWER on IntegriCloud