summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-08-06 09:28:25 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-08-06 09:28:25 +0000
commitd767883a417667ceebf5bb241d02337f34bc8016 (patch)
tree7136c4a1fd24d01176d3790e4b5d49f39cd6267b /firmware/target/arm
parent0307cd16a094b9b03da8fbcf237470ce2ad75cf7 (diff)
downloadrockbox-d767883a417667ceebf5bb241d02337f34bc8016.tar.gz
rockbox-d767883a417667ceebf5bb241d02337f34bc8016.zip
Various files: make functions static if they're local or make sure there is a proper #include if not
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/system-imx31.c2
-rw-r--r--firmware/target/arm/ipod/video/lcd-video.c10
-rw-r--r--firmware/target/arm/iriver/h10/backlight-h10.c1
3 files changed, 7 insertions, 6 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/system-imx31.c b/firmware/target/arm/imx31/gigabeat-s/system-imx31.c
index de39128497..2a0d3e41a3 100644
--- a/firmware/target/arm/imx31/gigabeat-s/system-imx31.c
+++ b/firmware/target/arm/imx31/gigabeat-s/system-imx31.c
@@ -41,7 +41,7 @@ unsigned int iim_system_rev(void)
41 return system_rev & IIM_SREV_SREV; 41 return system_rev & IIM_SREV_SREV;
42} 42}
43 43
44unsigned int iim_prod_rev(void) 44static unsigned int iim_prod_rev(void)
45{ 45{
46 return product_rev; 46 return product_rev;
47} 47}
diff --git a/firmware/target/arm/ipod/video/lcd-video.c b/firmware/target/arm/ipod/video/lcd-video.c
index 56c606f940..613cc759ee 100644
--- a/firmware/target/arm/ipod/video/lcd-video.c
+++ b/firmware/target/arm/ipod/video/lcd-video.c
@@ -123,9 +123,9 @@ unsigned flash_vmcs_length;
123 Based on part of FS#6721. This may belong elsewhere. 123 Based on part of FS#6721. This may belong elsewhere.
124 (BCM initialization uploads the vmcs section to the BCM.) 124 (BCM initialization uploads the vmcs section to the BCM.)
125 */ 125 */
126bool flash_get_section(const unsigned int imageid, 126static bool flash_get_section(const unsigned int imageid,
127 void **offset, 127 void **offset,
128 unsigned int *length) 128 unsigned int *length)
129{ 129{
130 unsigned long *p = (unsigned long*)(ROM_BASE + 0xffe00); 130 unsigned long *p = (unsigned long*)(ROM_BASE + 0xffe00);
131 unsigned char *csp, *csend; 131 unsigned char *csp, *csend;
@@ -505,7 +505,7 @@ static void bcm_command(unsigned cmd)
505 } 505 }
506} 506}
507 507
508void bcm_powerdown(void) 508static void bcm_powerdown(void)
509{ 509{
510 bcm_write32(0x10001400, bcm_read32(0x10001400) & ~0xF0); 510 bcm_write32(0x10001400, bcm_read32(0x10001400) & ~0xF0);
511 511
@@ -530,7 +530,7 @@ const unsigned char bcm_bootstrapdata[] =
530 0xA1, 0x81, 0x91, 0x02, 0x12, 0x22, 0x72, 0x62 530 0xA1, 0x81, 0x91, 0x02, 0x12, 0x22, 0x72, 0x62
531}; 531};
532 532
533void bcm_init(void) 533static void bcm_init(void)
534{ 534{
535 int i; 535 int i;
536 536
diff --git a/firmware/target/arm/iriver/h10/backlight-h10.c b/firmware/target/arm/iriver/h10/backlight-h10.c
index e74f2b8d43..db10f39057 100644
--- a/firmware/target/arm/iriver/h10/backlight-h10.c
+++ b/firmware/target/arm/iriver/h10/backlight-h10.c
@@ -22,6 +22,7 @@
22#include "cpu.h" 22#include "cpu.h"
23#include "system.h" 23#include "system.h"
24#include "backlight.h" 24#include "backlight.h"
25#include "backlight-target.h"
25#include "lcd.h" 26#include "lcd.h"
26 27
27void _backlight_on(void) 28void _backlight_on(void)