From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755033Ab0E0NIq (ORCPT ); Thu, 27 May 2010 09:08:46 -0400 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237]:59633 "EHLO tim.rpsys.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753658Ab0E0NIo (ORCPT ); Thu, 27 May 2010 09:08:44 -0400 Subject: Re: linux-next: build failure after merge of the final tree (leds tree related) From: Richard Purdie To: Benjamin Herrenschmidt Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Bjarke Istrup Pedersen , Randy Dunlap , Alessandro Zummo , Andrew Morton In-Reply-To: <1274960190.1931.429.camel@pasglop> References: <20100527151656.889b5977.sfr@canb.auug.org.au> <1274960190.1931.429.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 27 May 2010 14:07:24 +0100 Message-ID: <1274965644.24079.1427.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2010-05-27 at 21:36 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2010-05-27 at 15:16 +1000, Stephen Rothwell wrote: > > Hi Richard, > > > > After merging the final tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > drivers/leds/leds-net5501.c:20:23: error: asm/geode.h: No such file or directory > > drivers/leds/leds-net5501.c: In function 'soekris_init': > > drivers/leds/leds-net5501.c:63: error: implicit declaration of function 'is_geode' > > Looks like something is missing an ifdef CONFIG_X86 :-) Right, that driver/board is x86 only. I've pushed a fix. > > Caused by commit 14e40f644b020d473415342461b7c62e3bb5e312 ("leds: Add LED > > driver for the Soekris net5501 board"). Presumably only tested on x86? > > > > drivers/leds/leds-gpio.c: In function 'of_gpio_leds_probe': > > drivers/leds/leds-gpio.c:253: error: 'struct gpio_led' has no member named 'blinking' > > > > Caused by commit 2146325df2c2640059a9e064890c30c6e259b458 ("leds: > > leds-gpio: Change blink_set callback to be able to turn off blinking"). This error looks like its from Ben's patch, probably when openfirmware is enabled. I've queued a fix for this too: http://git.o-hand.com/cgit.cgi/linux-rpurdie-leds/commit/?id=a4b4433c511cf4361bb0afabba69e16632002d32 Cheers, Richard