public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG
Date: Mon, 18 Apr 2011 10:06:37 +0200	[thread overview]
Message-ID: <20110418080637.GA31131@pengutronix.de> (raw)
In-Reply-To: <1302166243-650-1-git-send-email-u.kleine-koenig@pengutronix.de>

Hi Guennadi,

On Thu, Apr 07, 2011 at 10:50:43AM +0200, Uwe Kleine-K?nig wrote:
> Since commit
> 
> 	379fa5d ([media] V4L: mx3_camera: convert to videobuf2)
> 
> mx3_camera uses videobuf2, but that commit didn't upgrade the select
> resulting in the following build failure:
> 
> 	drivers/built-in.o: In function `mx3_camera_init_videobuf':
> 	clkdev.c:(.text+0x86580): undefined reference to `vb2_dma_contig_memops'
> 	drivers/built-in.o: In function `mx3_camera_probe':
> 	clkdev.c:(.devinit.text+0x3548): undefined reference to `vb2_dma_contig_init_ctx'
> 	clkdev.c:(.devinit.text+0x3578): undefined reference to `vb2_dma_contig_cleanup_ctx'
> 	drivers/built-in.o: In function `mx3_camera_remove':
> 	clkdev.c:(.devexit.text+0x674): undefined reference to `vb2_dma_contig_cleanup_ctx'
> 	make[2]: *** [.tmp_vmlinux1] Error 1
> 	make[1]: *** [sub-make] Error 2
> 	make: *** [all] Error 2
> 
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
> ---
I guess the only problem with this is -ENOTIME on your side?

> does someone has a hint how to fix gcc not to believe the undefined
> references to be in clkdev.c?
I got a hint that might be related to ccache. Didn't look into it yet,
though.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

  reply	other threads:[~2011-04-18  8:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07  8:50 [PATCH] V4L: mx3_camera: select VIDEOBUF2_DMA_CONTIG instead of VIDEOBUF_DMA_CONTIG Uwe Kleine-König
2011-04-18  8:06 ` Uwe Kleine-König [this message]
2011-04-18  8:14   ` Guennadi Liakhovetski
2011-04-18  8:20     ` Robert Schwebel
2011-04-18  8:27       ` Russell King - ARM Linux
2011-04-18  8:45       ` Uwe Kleine-König

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=20110418080637.GA31131@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.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