summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/s3c2440
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-08 00:07:19 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-08 00:07:19 +0000
commit95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3 (patch)
tree26527cbd96f62ff5a26d46e8b63be40e0a306084 /firmware/target/arm/s3c2440
parent63ead774d534db1e07cdae3edb56655d43b19902 (diff)
downloadrockbox-95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3.tar.gz
rockbox-95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3.tar.bz2
rockbox-95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3.zip
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
Diffstat (limited to 'firmware/target/arm/s3c2440')
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/button-target.h6
-rw-r--r--firmware/target/arm/s3c2440/mini2440/button-target.h9
2 files changed, 0 insertions, 15 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/button-target.h b/firmware/target/arm/s3c2440/gigabeat-fx/button-target.h
index e43ad27764..6852e733ef 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/button-target.h
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/button-target.h
@@ -21,14 +21,8 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
#define HAS_BUTTON_HOLD
-bool button_hold(void);
-void button_init_device(void);
-int button_read_device(void);
void touchpad_set_sensitivity(int level);
/* Toshiba Gigabeat specific button codes */
diff --git a/firmware/target/arm/s3c2440/mini2440/button-target.h b/firmware/target/arm/s3c2440/mini2440/button-target.h
index 66419b464a..685af7270f 100644
--- a/firmware/target/arm/s3c2440/mini2440/button-target.h
+++ b/firmware/target/arm/s3c2440/mini2440/button-target.h
@@ -21,13 +21,6 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
-
-bool button_hold(void);
-void button_init_device(void);
-int button_read_device(int*);
void touchpad_set_sensitivity(int level);
/* Mini2440 specific button codes */
@@ -76,8 +69,6 @@ void touchpad_set_sensitivity(int level);
BUTTON_UP |BUTTON_DOWN|BUTTON_SELECT | \
BUTTON_A |BUTTON_POWER )
-#define BUTTON_REMOTE 0
-
#define POWEROFF_BUTTON BUTTON_MENU
#define POWEROFF_COUNT 10