aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-05-18 10:16:34 -0400
committerHelge Deller <deller@gmx.de>2018-05-18 10:21:49 -0400
commit8a922814ccfed70d35a725f47c0bf12b50fd223c (patch)
tree45f196d1484ad34da62172c8ba2891ab5801d5a1
parent01f56832cfb6fcc204e7203f46841b6185ebd574 (diff)
parisc: Move ccio_cujo20_fixup() into init section
ccio_cujo20_fixup() is called by dino_probe() only, which is in init section already. Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--drivers/parisc/ccio-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c
index 126cf19e869b..297599fcbc32 100644
--- a/drivers/parisc/ccio-dma.c
+++ b/drivers/parisc/ccio-dma.c
@@ -1195,7 +1195,7 @@ void * ccio_get_iommu(const struct parisc_device *dev)
1195 * to/from certain pages. To avoid this happening, we mark these pages 1195 * to/from certain pages. To avoid this happening, we mark these pages
1196 * as `used', and ensure that nothing will try to allocate from them. 1196 * as `used', and ensure that nothing will try to allocate from them.
1197 */ 1197 */
1198void ccio_cujo20_fixup(struct parisc_device *cujo, u32 iovp) 1198void __init ccio_cujo20_fixup(struct parisc_device *cujo, u32 iovp)
1199{ 1199{
1200 unsigned int idx; 1200 unsigned int idx;
1201 struct parisc_device *dev = parisc_parent(cujo); 1201 struct parisc_device *dev = parisc_parent(cujo);