Skip to contentSkip to conversation

linux-next: build failure after merge of the mips tree

PATCH In review Stephen Rothwell 3 participants 6 messages Jul 27, 2010 – Jul 28, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Ralf,

After merging the xtensa tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/video/jz4740_fb.c:29:39: error: asm/mach-jz4740/jz4740_fb.h: No such file or directory drivers/video/jz4740_fb.c:30:34: error: asm/mach-jz4740/gpio.h: No such file or directory drivers/video/jz4740_fb.c:149: error: array type has incomplete element type drivers/video/jz4740_fb.c:150: error: implicit declaration of function 'JZ_GPIO_BULK_PIN' drivers/video/jz4740_fb.c:150: error: 'LCD_PCLK' undeclared here (not in a function)

... and on and on ...

Caused by commit e457478bc296ea3f2ae51ca7c165a59621c1655d ("FBDEV:
JZ4740: Add framebuffer driver"). Presumably this driver will only build on MIPS?

I have used the mips tree from next-20100726 for today.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#1 lore raw

PATCH 1/1 fbdev: Make jz4740-fb depends on MACH_JZ4740

The jz4740-fb driver should only be selectabed of MACH_JZ4740 is selected.

---
 drivers/video/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/Kconfig +1 -1
index a42cb9b..9e711a1 100644
@@ -2231,7 +2231,7 @@ config FB_BROADSHEET
 
 config FB_JZ4740
 	tristate "JZ4740 LCD framebuffer support"
-	depends on FB
+	depends on FB && MACH_JZ4740
 	select FB_SYS_FILLRECT
 	select FB_SYS_COPYAREA
 	select FB_SYS_IMAGEBLIT
Signature · 1 line
1.5.6.5
#2 lore raw

Re: [PATCH] fbdev: Make jz4740-fb depends on MACH_JZ4740

Quoted 1 line · Lars-Peter Clausen

The jz4740-fb driver should only be selectabed of MACH_JZ4740 is selected.

Thanks, folded into the original patch.

Ralf

#3 lore raw

Re: [PATCH] fbdev: Make jz4740-fb depends on MACH_JZ4740

Hi Ralf,

Quoted 6 lines · On Tue, 27 Jul 2010 06:55:46 +0100 Ralf Baechle <[email protected]> wrote:
Quoted 1 line · Lars-Peter Clausen

The jz4740-fb driver should only be selectabed of MACH_JZ4740 is selected.

Thanks, folded into the original patch.

But it didn't make it into your mips-for-linux-next branch today?

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#4 lore raw

Re: [PATCH] fbdev: Make jz4740-fb depends on MACH_JZ4740

Hi Ralf,

Quoted 10 lines · On Wed, 28 Jul 2010 11:31:36 +1000 Stephen Rothwell <[email protected]>…
Quoted 6 lines · On Tue, 27 Jul 2010 06:55:46 +0100 Ralf Baechle <[email protected]> wrote:
Quoted 1 line · Lars-Peter Clausen

The jz4740-fb driver should only be selectabed of MACH_JZ4740 is selected.

Thanks, folded into the original patch.

But it didn't make it into your mips-for-linux-next branch today?

I will apply that patch myself just for today.

Signature · 3 lines
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/
#5 lore raw

Re: [PATCH] fbdev: Make jz4740-fb depends on MACH_JZ4740

In reply to Stephen Rothwell
Quoted 9 lines · Stephen Rothwell
Quoted 6 lines · On Tue, 27 Jul 2010 06:55:46 +0100 Ralf Baechle <[email protected]> wrote:
Quoted 1 line · Lars-Peter Clausen

The jz4740-fb driver should only be selectabed of MACH_JZ4740 is selected.

Thanks, folded into the original patch.

But it didn't make it into your mips-for-linux-next branch today?

Fixed. Sorry.

Ralf