mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 00:52:01 +00:00
02a8e76979
If CONFIG_BACKLIGHT_CORGI is not selected, then corgibl_limit_intensity() is not present. However, both corgi_pm.c and sharp_pm.c reference this symbol, resulting in a link error. Wrap the references with the relevant ifdefs, and avoid the resulting NULL pointer dereference by making the code in sharpsl_pm.c also conditional on the config symbol. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
dmabounce.c | ||
gic.c | ||
icst307.c | ||
icst525.c | ||
it8152.c | ||
Kconfig | ||
locomo.c | ||
Makefile | ||
rtctime.c | ||
sa1111.c | ||
scoop.c | ||
sharpsl_param.c | ||
sharpsl_pm.c | ||
time-acorn.c | ||
uengine.c | ||
via82c505.c | ||
vic.c |