SUPERH platform development
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] serial: sh-sci: fix DMA build by including dma-mapping.h
Date: Wed, 03 Aug 2011 03:37:59 +0000	[thread overview]
Message-ID: <20110803033759.GE32513@linux-sh.org> (raw)
In-Reply-To: <20110802094254.2352.12648.sendpatchset@t400s>

On Wed, Aug 03, 2011 at 12:28:09PM +0900, Simon Horman wrote:
> On Tue, Aug 02, 2011 at 06:42:54PM +0900, Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> > 
> > Include dma-mapping.h to fix build of the sh-sci driver on
> > SH-Mobile ARM (sh73a0) when CONFIG_SERIAL_SH_SCI_DMA=y:
> > 
> > drivers/tty/serial/sh-sci.c: In function 'sci_rx_dma_release':
> > drivers/tty/serial/sh-sci.c:1182:3: error: implicit declaration of function 'dma_free_coherent'
> > drivers/tty/serial/sh-sci.c: In function 'work_fn_tx':
> > drivers/tty/serial/sh-sci.c:1333:2: error: implicit declaration of function 'dma_sync_sg_for_device'
> > drivers/tty/serial/sh-sci.c: In function 'sci_request_dma':
> > drivers/tty/serial/sh-sci.c:1498:3: error: implicit declaration of function 'dma_map_sg'
> > drivers/tty/serial/sh-sci.c:1527:3: error: implicit declaration of function 'dma_alloc_coherent'
> > drivers/tty/serial/sh-sci.c:1527:10: warning: assignment makes pointer from integer without a cast
> > make[3]: *** [drivers/tty/serial/sh-sci.o] Error 1
> > make[2]: *** [drivers/tty/serial] Error 2
> > make[1]: *** [drivers/tty] Error 2
> > make: *** [drivers] Error 2
> 
> Tested-by: Simon Horman <horms@verge.net.au>

Applied, thanks.

      parent reply	other threads:[~2011-08-03  3:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-02  9:42 [PATCH] serial: sh-sci: fix DMA build by including dma-mapping.h Magnus Damm
2011-08-03  3:28 ` Simon Horman
2011-08-03  3:37 ` Paul Mundt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110803033759.GE32513@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox