mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
435e08eae1
commit
2f0f3490d3
3 changed files with 8 additions and 3 deletions
|
|
@ -19,9 +19,10 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
#include "ascodec.h"
|
#include "ascodec.h"
|
||||||
|
|
||||||
void lcd_hw_init(void);
|
void lcd_hw_init(void) INIT_ATTR;
|
||||||
static inline void lcd_enable_power(bool onoff)
|
static inline void lcd_enable_power(bool onoff)
|
||||||
{
|
{
|
||||||
ascodec_write(AS3514_DCDC15, onoff ? 1 : 0);
|
ascodec_write(AS3514_DCDC15, onoff ? 1 : 0);
|
||||||
|
|
|
||||||
|
|
@ -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)
|
static inline void lcd_enable_power(bool onoff)
|
||||||
{
|
{
|
||||||
(void) onoff;
|
(void) onoff;
|
||||||
|
|
|
||||||
|
|
@ -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)
|
static inline void lcd_enable_power(bool onoff)
|
||||||
{
|
{
|
||||||
(void) onoff;
|
(void) onoff;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue