Skip to content
Commit 522f17e1 authored by Vegard Nossum's avatar Vegard Nossum Committed by Jacek Anaszewski
Browse files

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: default avatarVegard Nossum <vegard.nossum@oracle.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: linux-leds@vger.kernel.org
Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
parent 9534cc31
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment