From 95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 8 Jan 2012 00:07:19 +0000 Subject: button-target.h : move prototypes to button.h no need to define BUTTON_REMOTE anymore git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31620 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/sansa-clipplus/button-clip.c | 2 +- firmware/target/arm/as3525/sansa-clipplus/button-target.h | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'firmware/target/arm/as3525/sansa-clipplus') diff --git a/firmware/target/arm/as3525/sansa-clipplus/button-clip.c b/firmware/target/arm/as3525/sansa-clipplus/button-clip.c index 6514346654..60b8c8f7a3 100644 --- a/firmware/target/arm/as3525/sansa-clipplus/button-clip.c +++ b/firmware/target/arm/as3525/sansa-clipplus/button-clip.c @@ -19,7 +19,7 @@ * KIND, either express or implied. * ****************************************************************************/ -#include "button-target.h" +#include "button.h" #include "as3525v2.h" #include "kernel.h" diff --git a/firmware/target/arm/as3525/sansa-clipplus/button-target.h b/firmware/target/arm/as3525/sansa-clipplus/button-target.h index c341a94220..8176382ba2 100644 --- a/firmware/target/arm/as3525/sansa-clipplus/button-target.h +++ b/firmware/target/arm/as3525/sansa-clipplus/button-target.h @@ -22,12 +22,6 @@ #ifndef _BUTTON_TARGET_H_ #define _BUTTON_TARGET_H_ -#include -#include "config.h" - -void button_init_device(void); -int button_read_device(void); - /* Main unit's buttons */ #define BUTTON_HOME 0x00000001 @@ -47,8 +41,6 @@ int button_read_device(void); |BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|BUTTON_RIGHT\ |BUTTON_SELECT|BUTTON_POWER) -#define BUTTON_REMOTE 0 - /* Software power-off */ #define POWEROFF_BUTTON BUTTON_POWER #define POWEROFF_COUNT 10 -- cgit v1.2.3