From: Randy Dunlap Date: Fri, 26 Jun 2015 19:00:20 +0000 (-0700) Subject: leds: fix aat1290 build errors X-Git-Tag: omap-for-v4.2/fixes-rc1^2~51^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58d1809b9d6128224e092bfaf7632bcef7a15f3e;p=pandora-kernel.git leds: fix aat1290 build errors Fix build errors when LEDS_AAT1290=y and V4L2_FLASH_LED_CLASS=m by restricting LEDS_AAT1290 to =m if V4L2_FLASH_LED_CLASS=m. drivers/built-in.o: In function `aat1290_led_remove': leds-aat1290.c:(.text+0xe5d77): undefined reference to `v4l2_flash_release' drivers/built-in.o: In function `aat1290_led_probe': leds-aat1290.c:(.text+0xe6494): undefined reference to `v4l2_flash_init' Signed-off-by: Randy Dunlap Cc: Richard Purdie Acked-by: Jacek Anaszewski Signed-off-by: Bryan Wu --- Reading git-diff-tree failed