summaryrefslogtreecommitdiff
path: root/include/lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lcd.h')
-rw-r--r--include/lcd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/lcd.h b/include/lcd.h
index fbba6a2..4ada617 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 */