lkml.org 
[lkml]   [2011]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] DMA: PL330: add missing header
From
Date
On Tue, 2011-08-23 at 10:39 +0100, Russell King - ARM Linux wrote:
> On Tue, Aug 23, 2011 at 02:02:47PM +0530, Koul, Vinod wrote:
> > On Tue, 2011-08-23 at 09:23 +0100, Russell King - ARM Linux wrote:
> > > On Tue, Aug 23, 2011 at 01:45:42PM +0530, Koul, Vinod wrote:
> > > > Russell had fixed compilation of pl330 driver, and was supposed to send
> > > > the fix to Linus as part of his fixes. If thats not done I can send it
> > > > for next -rc
> > >
> > > That was for amba-pl08x.c, not pl330.c
> > Okay, thanks.
> > I will send the patch for dmaengine.h to Linus for next -rc
>
> If you read the original commit, you'll find that scatterlist.h was
> explicitly removed from dmaengine.h:
>
> net: remove mm.h inclusion from netdevice.h
>
> Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked ma
>
> To prevent mm.h inclusion via other channels also extract "enum dma_data_dir
> definition into separate header. This tiny piece is what gluing netdevice.h
> via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
> Removal of mm.h from scatterlist.h was tried and was found not feasible
> on most archs, so the link was cutoff earlier.
>
> Hope people are OK with tiny include file.
>
> Note, that mm_types.h is still dragged in, but it is a separate story.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
> Signed-off-by: David S. Miller <davem@davemloft.net>
>
> So adding scatterlist.h back into dmaengine.h may not be the best idea.
Yes, looks like that maybe the case.

It's rather unfortunate that neither Dan nor me were copied on changes
done on dmaengine drivers and headers :(


--
~Vinod



\
 
 \ /
  Last update: 2011-08-23 12:59    [W:2.644 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site