* [PATCH] sh: bonito: Fix compile breakage
@ 2012-02-29 13:46 Phil Edworthy
2012-02-29 20:29 ` Laurent Pinchart
0 siblings, 1 reply; 2+ messages in thread
From: Phil Edworthy @ 2012-02-29 13:46 UTC (permalink / raw)
To: linux-sh
arch/arm/mach-shmobile/board-bonito.c:244:3: error: unknown field 'bpp' specified in initializer
make[2]: *** [arch/arm/mach-shmobile/board-bonito.o] Error 1
caused by commit "fbdev: sh_mobile_lcdc: Support FOURCC-based format API"
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
---
arch/arm/mach-shmobile/board-bonito.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-shmobile/board-bonito.c b/arch/arm/mach-shmobile/board-bonito.c
index 4d22016..4bd1162 100644
--- a/arch/arm/mach-shmobile/board-bonito.c
+++ b/arch/arm/mach-shmobile/board-bonito.c
@@ -27,6 +27,7 @@
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/smsc911x.h>
+#include <linux/videodev2.h>
#include <mach/common.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -241,7 +242,7 @@ static struct sh_mobile_lcdc_info lcdc0_info = {
.clock_source = LCDC_CLK_BUS,
.ch[0] = {
.chan = LCDC_CHAN_MAINLCD,
- .bpp = 16,
+ .fourcc = V4L2_PIX_FMT_RGB565,
.interface_type = RGB24,
.clock_divider = 5,
.flags = 0,
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sh: bonito: Fix compile breakage
2012-02-29 13:46 [PATCH] sh: bonito: Fix compile breakage Phil Edworthy
@ 2012-02-29 20:29 ` Laurent Pinchart
0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2012-02-29 20:29 UTC (permalink / raw)
To: linux-sh
Hi Phil,
Thanks for the patch.
On Wednesday 29 February 2012 13:46:24 Phil Edworthy wrote:
> arch/arm/mach-shmobile/board-bonito.c:244:3: error: unknown field 'bpp'
> specified in initializer make[2]: ***
> [arch/arm/mach-shmobile/board-bonito.o] Error 1
>
> caused by commit "fbdev: sh_mobile_lcdc: Support FOURCC-based format API"
>
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
You were faster than me :-)
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> arch/arm/mach-shmobile/board-bonito.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-bonito.c
> b/arch/arm/mach-shmobile/board-bonito.c index 4d22016..4bd1162 100644
> --- a/arch/arm/mach-shmobile/board-bonito.c
> +++ b/arch/arm/mach-shmobile/board-bonito.c
> @@ -27,6 +27,7 @@
> #include <linux/platform_device.h>
> #include <linux/gpio.h>
> #include <linux/smsc911x.h>
> +#include <linux/videodev2.h>
> #include <mach/common.h>
> #include <asm/mach-types.h>
> #include <asm/mach/arch.h>
> @@ -241,7 +242,7 @@ static struct sh_mobile_lcdc_info lcdc0_info = {
> .clock_source = LCDC_CLK_BUS,
> .ch[0] = {
> .chan = LCDC_CHAN_MAINLCD,
> - .bpp = 16,
> + .fourcc = V4L2_PIX_FMT_RGB565,
> .interface_type = RGB24,
> .clock_divider = 5,
> .flags = 0,
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-29 20:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-29 13:46 [PATCH] sh: bonito: Fix compile breakage Phil Edworthy
2012-02-29 20:29 ` Laurent Pinchart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox