summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-05-21 12:32:26 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-05-21 12:32:26 +0000
commit2dc2054319abbbd0f559a18ecfbb8416cdbd2baf (patch)
treebe74a72d6cc7c5d44699b3da6d471d4356f40e57 /firmware/target
parent0e725551af7c4b337aebcb8d922dba34cbb20565 (diff)
Remove some unused declarations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21010 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/ata-pp5002.c1
-rw-r--r--firmware/target/arm/ata-pp5020.c1
-rw-r--r--firmware/target/arm/ata-target.h1
-rw-r--r--firmware/target/arm/i2c-pp.c1
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/button-target.h1
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/usb-target.h2
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h1
-rw-r--r--firmware/target/arm/system-pp502x.c2
-rw-r--r--firmware/target/arm/system-target.h4
-rw-r--r--firmware/target/mips/ingenic_jz47xx/system-target.h2
10 files changed, 3 insertions, 13 deletions
diff --git a/firmware/target/arm/ata-pp5002.c b/firmware/target/arm/ata-pp5002.c
index 0f4d955c63..2c4bb3b3bc 100644
--- a/firmware/target/arm/ata-pp5002.c
+++ b/firmware/target/arm/ata-pp5002.c
@@ -23,6 +23,7 @@
#include <stdbool.h>
#include "system.h"
+#include "ata.h"
#include "ata-target.h"
void ata_reset()
diff --git a/firmware/target/arm/ata-pp5020.c b/firmware/target/arm/ata-pp5020.c
index 1f066900df..ee770b4c5b 100644
--- a/firmware/target/arm/ata-pp5020.c
+++ b/firmware/target/arm/ata-pp5020.c
@@ -23,6 +23,7 @@
#include <stdbool.h>
#include "system.h"
+#include "ata.h"
#include "ata-target.h"
void ata_reset()
diff --git a/firmware/target/arm/ata-target.h b/firmware/target/arm/ata-target.h
index c03d527372..0881aaef35 100644
--- a/firmware/target/arm/ata-target.h
+++ b/firmware/target/arm/ata-target.h
@@ -79,6 +79,5 @@ void copy_write_sectors(const unsigned char* buf, int wordcount);
#endif
void ata_reset(void);
-void ata_enable(bool on);
bool ata_is_coldstart(void);
void ata_device_init(void);
diff --git a/firmware/target/arm/i2c-pp.c b/firmware/target/arm/i2c-pp.c
index 44713407df..fef2082e60 100644
--- a/firmware/target/arm/i2c-pp.c
+++ b/firmware/target/arm/i2c-pp.c
@@ -31,6 +31,7 @@
#include "thread.h"
#include "logf.h"
#include "system.h"
+#include "i2c.h"
#include "i2c-pp.h"
#include "ascodec.h"
#include "as3514.h"
diff --git a/firmware/target/arm/imx31/gigabeat-s/button-target.h b/firmware/target/arm/imx31/gigabeat-s/button-target.h
index d970e9983c..940ebac2f2 100644
--- a/firmware/target/arm/imx31/gigabeat-s/button-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/button-target.h
@@ -36,7 +36,6 @@ void button_close_device(void);
int button_read_device(void);
void button_power_event(void);
void headphone_detect_event(void);
-bool headphones_inserted(void);
void headphone_init(void);
void button_headphone_set(int button);
diff --git a/firmware/target/arm/imx31/gigabeat-s/usb-target.h b/firmware/target/arm/imx31/gigabeat-s/usb-target.h
index 1f96a9a7eb..c93400ca0b 100644
--- a/firmware/target/arm/imx31/gigabeat-s/usb-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/usb-target.h
@@ -27,9 +27,7 @@
void usb_connect_event(void);
void usb_init_device(void);
-int usb_detect(void);
/* Read the immediate state of the cable from the PMIC */
bool usb_plugged(void);
-void usb_enable(bool on);
#endif /* USB_TARGET */
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h b/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
index 637d63b955..aba5f55a46 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/usb-target.h
@@ -22,6 +22,5 @@
#define USB_TARGET_H
void usb_init_device(void);
-void usb_enable(bool on);
#endif
diff --git a/firmware/target/arm/system-pp502x.c b/firmware/target/arm/system-pp502x.c
index 7a320055b0..b4952d6cf2 100644
--- a/firmware/target/arm/system-pp502x.c
+++ b/firmware/target/arm/system-pp502x.c
@@ -32,8 +32,6 @@
extern void TIMER1(void);
extern void TIMER2(void);
extern void SERIAL0(void);
-extern void ipod_mini_button_int(void); /* iPod Mini 1st gen only */
-extern void ipod_4g_button_int(void); /* iPod 4th gen and higher only */
#if defined(HAVE_ADJUSTABLE_CPU_FREQ) && (NUM_CORES > 1)
static struct corelock cpufreq_cl SHAREDBSS_ATTR;
diff --git a/firmware/target/arm/system-target.h b/firmware/target/arm/system-target.h
index 60844e0b5f..764cd18d15 100644
--- a/firmware/target/arm/system-target.h
+++ b/firmware/target/arm/system-target.h
@@ -48,10 +48,6 @@
#define inw(a) (*(volatile unsigned short *) (a))
#define outw(a,b) (*(volatile unsigned short *) (b) = (a))
-#if defined(HAVE_ADJUSTABLE_CPU_FREQ) && NUM_CORES > 1
-extern struct spinlock boostctrl_spin;
-#endif
-
static inline void udelay(unsigned usecs)
{
unsigned stop = USEC_TIMER + usecs;
diff --git a/firmware/target/mips/ingenic_jz47xx/system-target.h b/firmware/target/mips/ingenic_jz47xx/system-target.h
index df9b103309..08c3aeddb6 100644
--- a/firmware/target/mips/ingenic_jz47xx/system-target.h
+++ b/firmware/target/mips/ingenic_jz47xx/system-target.h
@@ -83,8 +83,6 @@ static inline void restore_interrupt(int status)
void system_enable_irq(unsigned int irq);
void udelay(unsigned int usec);
void mdelay(unsigned int msec);
-void power_off(void);
-void system_reboot(void);
void dma_enable(void);
void dma_disable(void);