]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
leds: add HAS_IOMEM dependency to LEDS_BCM6328/LEDS_BCM6358
authorVegard Nossum <vegard.nossum@oracle.com>
Sat, 2 Jan 2016 13:05:49 +0000 (14:05 +0100)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 4 Jan 2016 08:57:41 +0000 (09:57 +0100)
commit522f17e1214cf112e62cff56150964d8b68b94b2
treea2180fcaf1d7248c85c6c2cd3fcc7434c6e51272
parent9534cc31dda2bb129480ce2db92bf7bc1ef470ed
leds: add HAS_IOMEM dependency to LEDS_BCM6328/LEDS_BCM6358

Ran into this on UML:

drivers/built-in.o: In function `bcm6328_leds_probe':
drivers/leds/leds-bcm6328.c:340: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `bcm6358_leds_probe':
drivers/leds/leds-bcm6358.c:173: undefined reference to `devm_ioremap_resource'
collect2: error: ld returned 1 exit status

devm_ioremap_resource() is defined only when HAS_IOMEM is selected.

Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/Kconfig