]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
parisc: Move ccio_cujo20_fixup() into init section
authorHelge Deller <deller@gmx.de>
Fri, 18 May 2018 14:16:34 +0000 (16:16 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 18 May 2018 14:21:49 +0000 (16:21 +0200)
ccio_cujo20_fixup() is called by dino_probe() only, which is in init
section already.

Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/ccio-dma.c

index 126cf19e869bad39d88ad6a769423d98dd3b706b..297599fcbc3251bf284512dae20727c188befa67 100644 (file)
@@ -1195,7 +1195,7 @@ void * ccio_get_iommu(const struct parisc_device *dev)
  * to/from certain pages.  To avoid this happening, we mark these pages
  * as `used', and ensure that nothing will try to allocate from them.
  */
-void ccio_cujo20_fixup(struct parisc_device *cujo, u32 iovp)
+void __init ccio_cujo20_fixup(struct parisc_device *cujo, u32 iovp)
 {
        unsigned int idx;
        struct parisc_device *dev = parisc_parent(cujo);