Skip to content

Commit

Permalink
parisc: Move ccio_cujo20_fixup() into init section
Browse files Browse the repository at this point in the history
ccio_cujo20_fixup() is called by dino_probe() only, which is in init
section already.

Signed-off-by: Helge Deller <[email protected]>
  • Loading branch information
hdeller committed May 18, 2018
1 parent 01f5683 commit 8a92281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/parisc/ccio-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8a92281

Please sign in to comment.