diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-04-20 18:15:32 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-05-19 17:25:57 +0200 |
commit | 02a8e76979f9b439642e67955edb865c112926f6 (patch) | |
tree | a4465fc5c6ce78931e165ec7736ad9ff273e3851 /arch/mips/Kconfig | |
parent | Linux 2.6.26-rc3 (diff) | |
download | linux-02a8e76979f9b439642e67955edb865c112926f6.tar.xz linux-02a8e76979f9b439642e67955edb865c112926f6.zip |
[ARM] pxa: corgibl_limit_intensity build errors
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>
Diffstat (limited to 'arch/mips/Kconfig')
0 files changed, 0 insertions, 0 deletions