[PATCH RESEND 1/2] ARM: ixp4xx: Make dma_set_coherent_mask common, correct implementation

Simon Kågström simon.kagstrom at netinsight.net
Mon Mar 17 07:54:20 EDT 2014


On Mon, 17 Mar 2014 12:29:38 +0100
Arnd Bergmann <arnd at arndb.de> wrote:
> >  
> > -int dma_set_coherent_mask(struct device *dev, u64 mask)
> > -{
> > -       if (mask >= SZ_64M - 1)
> > -               return 0;
> > -
> > -       return -EIO;
> > -}
> > -
> >  EXPORT_SYMBOL(ixp4xx_pci_read);
> >  EXPORT_SYMBOL(ixp4xx_pci_write);
> >  EXPORT_SYMBOL(dma_set_coherent_mask);
> 
> When you move this function, you should really move the
> 'EXPORT_SYMBOL' along with it.

Yes, you are right. Will fix and resend the patches!

// Simon



More information about the linux-arm-kernel mailing list