summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/sansa-clip/lcd-clip.h3
-rw-r--r--firmware/target/arm/as3525/sansa-clipplus/lcd-clip.h4
-rw-r--r--firmware/target/arm/as3525/sansa-clipv2/lcd-clip.h4
3 files changed, 8 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/lcd-clip.h b/firmware/target/arm/as3525/sansa-clip/lcd-clip.h
index 3dbb416076..7863b853d5 100644
--- a/firmware/target/arm/as3525/sansa-clip/lcd-clip.h
+++ b/firmware/target/arm/as3525/sansa-clip/lcd-clip.h
@@ -19,9 +19,10 @@
*
****************************************************************************/
+#include "config.h"
#include "ascodec.h"
-void lcd_hw_init(void);
+void lcd_hw_init(void) INIT_ATTR;
static inline void lcd_enable_power(bool onoff)
{
ascodec_write(AS3514_DCDC15, onoff ? 1 : 0);
diff --git a/firmware/target/arm/as3525/sansa-clipplus/lcd-clip.h b/firmware/target/arm/as3525/sansa-clipplus/lcd-clip.h
index 753759638e..ae0309a949 100644
--- a/firmware/target/arm/as3525/sansa-clipplus/lcd-clip.h
+++ b/firmware/target/arm/as3525/sansa-clipplus/lcd-clip.h
@@ -19,7 +19,9 @@
*
****************************************************************************/
-void lcd_hw_init(void);
+#include "config.h"
+
+void lcd_hw_init(void) INIT_ATTR;
static inline void lcd_enable_power(bool onoff)
{
(void) onoff;
diff --git a/firmware/target/arm/as3525/sansa-clipv2/lcd-clip.h b/firmware/target/arm/as3525/sansa-clipv2/lcd-clip.h
index 753759638e..ae0309a949 100644
--- a/firmware/target/arm/as3525/sansa-clipv2/lcd-clip.h
+++ b/firmware/target/arm/as3525/sansa-clipv2/lcd-clip.h
@@ -19,7 +19,9 @@
*
****************************************************************************/
-void lcd_hw_init(void);
+#include "config.h"
+
+void lcd_hw_init(void) INIT_ATTR;
static inline void lcd_enable_power(bool onoff)
{
(void) onoff;