summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire
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/coldfire
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/coldfire')
-rw-r--r--firmware/target/coldfire/iriver/h100/backlight-h100.c2
-rw-r--r--firmware/target/coldfire/iriver/h300/backlight-h300.c1
-rw-r--r--firmware/target/coldfire/pcf50606-coldfire.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/coldfire/iriver/h100/backlight-h100.c b/firmware/target/coldfire/iriver/h100/backlight-h100.c
index 1b61f31ea4..47c02cb351 100644
--- a/firmware/target/coldfire/iriver/h100/backlight-h100.c
+++ b/firmware/target/coldfire/iriver/h100/backlight-h100.c
@@ -21,9 +21,9 @@
21#include "config.h" 21#include "config.h"
22#include "cpu.h" 22#include "cpu.h"
23#include "kernel.h" 23#include "kernel.h"
24#include "thread.h"
25#include "system.h" 24#include "system.h"
26#include "backlight.h" 25#include "backlight.h"
26#include "backlight-target.h"
27#include "lcd.h" 27#include "lcd.h"
28 28
29/* Returns the current state of the backlight (true=ON, false=OFF). */ 29/* Returns the current state of the backlight (true=ON, false=OFF). */
diff --git a/firmware/target/coldfire/iriver/h300/backlight-h300.c b/firmware/target/coldfire/iriver/h300/backlight-h300.c
index 7f63e75976..64e09b9b40 100644
--- a/firmware/target/coldfire/iriver/h300/backlight-h300.c
+++ b/firmware/target/coldfire/iriver/h300/backlight-h300.c
@@ -24,6 +24,7 @@
24#include "thread.h" 24#include "thread.h"
25#include "system.h" 25#include "system.h"
26#include "backlight.h" 26#include "backlight.h"
27#include "backlight-target.h"
27#include "pcf50606.h" 28#include "pcf50606.h"
28#include "lcd.h" 29#include "lcd.h"
29 30
diff --git a/firmware/target/coldfire/pcf50606-coldfire.c b/firmware/target/coldfire/pcf50606-coldfire.c
index 03c22a12e9..6206ae4deb 100644
--- a/firmware/target/coldfire/pcf50606-coldfire.c
+++ b/firmware/target/coldfire/pcf50606-coldfire.c
@@ -447,7 +447,7 @@ unsigned char pcf50606_i2c_inb(bool ack)
447 return byte; 447 return byte;
448} 448}
449 449
450int pcf50606_i2c_write(int address, const unsigned char* buf, int count) 450static int pcf50606_i2c_write(int address, const unsigned char* buf, int count)
451{ 451{
452 int i,x=0; 452 int i,x=0;
453 453