leds: fix max77693-led build errors
authorJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 29 Jun 2015 14:45:23 +0000 (07:45 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 29 Jun 2015 17:09:12 +0000 (10:09 -0700)
commit10c19c9eb2f0d5a99cb1ab68186482fcd3eeac6d
tree5927ec544633faeeb1c7b394cf13f41d184528bc
parent58d1809b9d6128224e092bfaf7632bcef7a15f3e
leds: fix max77693-led build errors

Fix build errors when LEDS_MAX77693=y and V4L2_FLASH_LED_CLASS=m
by restricting LEDS_MAX77693 to =m if V4L2_FLASH_LED_CLASS=m.

drivers/leds/leds-max77693.c:1062: undefined reference to `v4l2_flash_release'
drivers/leds/leds-max77693.c:1068: undefined reference to `v4l2_flash_release'
drivers/built-in.o: In function `max77693_register_led':
drivers/leds/leds-max77693.c:968: undefined reference to `v4l2_flash_init'
drivers/built-in.o: In function `max77693_led_probe':
drivers/leds/leds-max77693.c:1048: undefined reference to `v4l2_flash_release'

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/Kconfig