Thread (3 messages) 3 messages, 3 authors, 2012-01-20

Re: linux-next: build failure after merge of the final tree

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2012-01-20 07:28:57
Also in: lkml

On Fri, 20 Jan 2012 18:11:31 +1100 Stephen Rothwell [off-list ref] wrote:
Hi all,

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

drivers/leds/leds-ot200.c: In function 'ot200_led_brightness_set':
drivers/leds/leds-ot200.c:114: error: implicit declaration of function 'outb'

Caused by commit 891b7aeff9fe ("leds: add led driver for Bachmann's ot200").
Like this?
--- a/drivers/leds/Kconfig~leds-add-led-driver-for-bachmanns-ot200-fix
+++ a/drivers/leds/Kconfig
@@ -405,7 +405,7 @@ config LEDS_MAX8997
 
 config LEDS_OT200
 	tristate "LED support for the Bachmann OT200"
-	depends on LEDS_CLASS
+	depends on LEDS_CLASS && HAS_IOMEM
 	help
 	  This option enables support for the LEDs on the Bachmann OT200.
 	  Say Y to enable LEDs on the Bachmann OT200.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help