summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-07 19:07:36 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-07 19:07:36 +0000
commit50f96943bef6996f354aa01a0f5265cbe14764b6 (patch)
tree03fe117e4dce71dce2e9f4b0b79c602502125726 /firmware/target/coldfire
parent666f2e61f0737062b0ce14618f5b7c704273a236 (diff)
downloadrockbox-50f96943bef6996f354aa01a0f5265cbe14764b6.tar.gz
rockbox-50f96943bef6996f354aa01a0f5265cbe14764b6.zip
remote_detect(): move to lcd-remote.h
Reorganize lcd-remote.h so it works for iaudio-m3 too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31605 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire')
-rw-r--r--firmware/target/coldfire/iaudio/lcd-remote-target.h1
-rw-r--r--firmware/target/coldfire/iaudio/m3/button-m3.c2
-rw-r--r--firmware/target/coldfire/iaudio/m5/button-m5.c2
-rw-r--r--firmware/target/coldfire/iaudio/x5/button-x5.c2
-rw-r--r--firmware/target/coldfire/iriver/lcd-remote-target.h2
5 files changed, 3 insertions, 6 deletions
diff --git a/firmware/target/coldfire/iaudio/lcd-remote-target.h b/firmware/target/coldfire/iaudio/lcd-remote-target.h
index 435eee08c8..fe55212b81 100644
--- a/firmware/target/coldfire/iaudio/lcd-remote-target.h
+++ b/firmware/target/coldfire/iaudio/lcd-remote-target.h
@@ -24,7 +24,6 @@
#define REMOTE_INIT_LCD 1
#define REMOTE_DEINIT_LCD 2
-bool remote_detect(void);
void lcd_remote_powersave(bool on);
void lcd_remote_poweroff(void); /* for when remote is plugged during shutdown*/
diff --git a/firmware/target/coldfire/iaudio/m3/button-m3.c b/firmware/target/coldfire/iaudio/m3/button-m3.c
index 308f656ad2..3c31c962c8 100644
--- a/firmware/target/coldfire/iaudio/m3/button-m3.c
+++ b/firmware/target/coldfire/iaudio/m3/button-m3.c
@@ -24,7 +24,7 @@
#include "button.h"
#include "backlight.h"
#include "adc.h"
-#include "lcd-remote-target.h"
+#include "lcd-remote.h"
static bool hold_button = false;
static bool remote_hold_button = false;
diff --git a/firmware/target/coldfire/iaudio/m5/button-m5.c b/firmware/target/coldfire/iaudio/m5/button-m5.c
index cccda5e598..6dbd2023f2 100644
--- a/firmware/target/coldfire/iaudio/m5/button-m5.c
+++ b/firmware/target/coldfire/iaudio/m5/button-m5.c
@@ -23,7 +23,7 @@
#include "button.h"
#include "backlight.h"
#include "adc.h"
-#include "lcd-remote-target.h"
+#include "lcd-remote.h"
/* have buttons scan by default */
static bool button_scan_on = true;
diff --git a/firmware/target/coldfire/iaudio/x5/button-x5.c b/firmware/target/coldfire/iaudio/x5/button-x5.c
index c901105100..e1f68de36b 100644
--- a/firmware/target/coldfire/iaudio/x5/button-x5.c
+++ b/firmware/target/coldfire/iaudio/x5/button-x5.c
@@ -23,7 +23,7 @@
#include "button.h"
#include "backlight.h"
#include "adc.h"
-#include "lcd-remote-target.h"
+#include "lcd-remote.h"
/* have buttons scan by default */
static bool button_scan_on = true;
diff --git a/firmware/target/coldfire/iriver/lcd-remote-target.h b/firmware/target/coldfire/iriver/lcd-remote-target.h
index 7e2b6f5940..85bc754143 100644
--- a/firmware/target/coldfire/iriver/lcd-remote-target.h
+++ b/firmware/target/coldfire/iriver/lcd-remote-target.h
@@ -29,6 +29,4 @@ void lcd_remote_emireduce(bool state);
#endif
void lcd_remote_powersave(bool on);
-bool remote_detect(void);
-
#endif