linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: coda: Fix compile breakage
@ 2013-04-27  5:06 Alexander Shiyan
  2013-04-27 15:33 ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Shiyan @ 2013-04-27  5:06 UTC (permalink / raw)
  To: linux-media
  Cc: linux-arm-kernel, Mauro Carvalho Chehab, Arnd Bergmann,
	Olof Johansson, Alexander Shiyan

Patch adds GENERIC_ALLOCATOR, if "coda" is selected.

drivers/built-in.o: In function `coda_remove':
:(.text+0x110634): undefined reference to `gen_pool_free'
drivers/built-in.o: In function `coda_probe':
:(.text+0x1107d4): undefined reference to `of_get_named_gen_pool'
:(.text+0x1108b8): undefined reference to `gen_pool_alloc'
:(.text+0x1108d0): undefined reference to `gen_pool_virt_to_phys'
:(.text+0x110918): undefined reference to `dev_get_gen_pool'

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 drivers/media/platform/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index 0cbe1ff..414a769 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -145,6 +145,7 @@ config VIDEO_CODA
 	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
 	select VIDEOBUF2_DMA_CONTIG
 	select V4L2_MEM2MEM_DEV
+	select GENERIC_ALLOCATOR
 	---help---
 	   Coda is a range of video codec IPs that supports
 	   H.264, MPEG-4, and other video formats.
-- 
1.8.1.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: coda: Fix compile breakage
  2013-04-27  5:06 [PATCH] media: coda: Fix compile breakage Alexander Shiyan
@ 2013-04-27 15:33 ` Arnd Bergmann
  2013-04-27 17:13   ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2013-04-27 15:33 UTC (permalink / raw)
  To: Alexander Shiyan
  Cc: linux-media, linux-arm-kernel, Mauro Carvalho Chehab,
	Olof Johansson

On Saturday 27 April 2013, Alexander Shiyan wrote:
> Patch adds GENERIC_ALLOCATOR, if "coda" is selected.
> 
> drivers/built-in.o: In function `coda_remove':
> :(.text+0x110634): undefined reference to `gen_pool_free'
> drivers/built-in.o: In function `coda_probe':
> :(.text+0x1107d4): undefined reference to `of_get_named_gen_pool'
> :(.text+0x1108b8): undefined reference to `gen_pool_alloc'
> :(.text+0x1108d0): undefined reference to `gen_pool_virt_to_phys'
> :(.text+0x110918): undefined reference to `dev_get_gen_pool'
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

Acked-by: Arnd Bergmann <arnd@arndb.de>

I noticed the problem as well, but haven't gotten around to create
a patch. Thanks for taking care of this!

	Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: coda: Fix compile breakage
  2013-04-27 15:33 ` Arnd Bergmann
@ 2013-04-27 17:13   ` Fabio Estevam
  2013-04-27 20:55     ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2013-04-27 17:13 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Alexander Shiyan, linux-media, linux-arm-kernel,
	Mauro Carvalho Chehab, Olof Johansson, Shawn Guo

Alexander/Arnd,

On Sat, Apr 27, 2013 at 12:33 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Saturday 27 April 2013, Alexander Shiyan wrote:
>> Patch adds GENERIC_ALLOCATOR, if "coda" is selected.
>>
>> drivers/built-in.o: In function `coda_remove':
>> :(.text+0x110634): undefined reference to `gen_pool_free'
>> drivers/built-in.o: In function `coda_probe':
>> :(.text+0x1107d4): undefined reference to `of_get_named_gen_pool'
>> :(.text+0x1108b8): undefined reference to `gen_pool_alloc'
>> :(.text+0x1108d0): undefined reference to `gen_pool_virt_to_phys'
>> :(.text+0x110918): undefined reference to `dev_get_gen_pool'
>>
>> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
>
> I noticed the problem as well, but haven't gotten around to create
> a patch. Thanks for taking care of this!

I fixed this issue in a different way:
https://patchwork.kernel.org/patch/2432841/

And Shawn has already queued it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] media: coda: Fix compile breakage
  2013-04-27 17:13   ` Fabio Estevam
@ 2013-04-27 20:55     ` Arnd Bergmann
  0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2013-04-27 20:55 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Alexander Shiyan, linux-media, linux-arm-kernel,
	Mauro Carvalho Chehab, Olof Johansson, Shawn Guo

On Saturday 27 April 2013, Fabio Estevam wrote:
> I fixed this issue in a different way:
> https://patchwork.kernel.org/patch/2432841/
> 
> And Shawn has already queued it.

Ok, that's probably better.

	Arnd

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-27 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-27  5:06 [PATCH] media: coda: Fix compile breakage Alexander Shiyan
2013-04-27 15:33 ` Arnd Bergmann
2013-04-27 17:13   ` Fabio Estevam
2013-04-27 20:55     ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).