summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 13c829805f..9a7e9b578c 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -147,6 +147,7 @@ static const struct plugin_api rockbox_api = {
gui_scrollbar_draw,
#endif
+#ifdef HAVE_BACKLIGHT
backlight_on,
backlight_off,
backlight_set_timeout,
@@ -158,6 +159,7 @@ static const struct plugin_api rockbox_api = {
backlight_set_timeout_plugged,
#endif
is_backlight_on,
+#endif /* HAVE_BACKLIGHT */
splash,
splashf,