From: Arnd Bergmann Date: Tue, 6 May 2014 12:58:22 +0000 (+0200) Subject: leds: Fix build for LEDS_CLASS=m on versatile X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~45^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a501fd37f77a703a8710af8f6964e0ae269df973;p=pandora-kernel.git leds: Fix build for LEDS_CLASS=m on versatile I got a build error today, since LEDS_VERSATILE can be built-in while LEDS_CLASS is a module: drivers/built-in.o: In function `versatile_leds_probe': :(.text+0x155020): undefined reference to `led_classdev_register' I suggest we turn this option into 'tristate' so that the dependency tracking works correctly. Signed-off-by: Arnd Bergmann Acked-by: Linus Walleij Signed-off-by: Olof Johansson --- Reading git-diff-tree failed