Clip*: give lcd_hw_init() INIT_ATTR attribute

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26329 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-05-27 12:28:53 +00:00
parent 435e08eae1
commit 2f0f3490d3
3 changed files with 8 additions and 3 deletions

View file

@ -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);

View file

@ -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;

View file

@ -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;