summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/lcd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/lcd.h b/include/lcd.h
index fbba6a27f9..4ada617e02 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -60,8 +60,15 @@ typedef struct vidinfo {
void *priv; /* Pointer to driver-specific data */
} vidinfo_t;
+
+static __maybe_unused ushort *configuration_get_cmap(void)
+{
+ return panel_info.cmap;
+}
#endif
+ushort *configuration_get_cmap(void);
+
extern vidinfo_t panel_info;
/* Video functions */