mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-12-06 16:54:31 +00:00
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> |
History
|
|
|---|---|---|
| .. | ||
| 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 | ||