summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-27 12:28:53 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-27 12:28:53 +0000
commit2f0f3490d33c9efd1eb39901e1c3414636eff323 (patch)
tree1683c804e9e977ea8e6e7e78c0065013e5b7e581 /firmware
parent435e08eae1502f520ce14b279cd2754093e195cb (diff)
downloadrockbox-2f0f3490d33c9efd1eb39901e1c3414636eff323.tar.gz
rockbox-2f0f3490d33c9efd1eb39901e1c3414636eff323.tar.bz2
rockbox-2f0f3490d33c9efd1eb39901e1c3414636eff323.zip
Clip*: give lcd_hw_init() INIT_ATTR attribute
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26329 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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;