summaryrefslogtreecommitdiff
path: root/cpu/arm_cortexa9/db8500/clock.c
diff options
context:
space:
mode:
authorJoakim Axelsson <joakim.axelsson@stericsson.com>2010-12-03 11:03:16 +0800
committerMichael BRANDT <michael.brandt@stericsson.com>2010-12-07 15:58:57 +0100
commit309a6aa2bfbde5d805f3644a2537a3444fba69df (patch)
tree064ec212bd79d7eb5757745429210443aedae872 /cpu/arm_cortexa9/db8500/clock.c
parent18f5edacccb7ae2247e8cbe53c168bdd0a193f81 (diff)
db8500: Make sure code is warning free
Add -Wall -Wextra -Werror to CFLAGS for db8500 SoC code. Also add -Wno-unused-parameter due to some inline functions in generic include files are having unused parameters. ST-Ericsson ID: None Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com> Change-Id: Ibc59c6e4ad1188e96d7c65d600881869b7024ce8 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9891 Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'cpu/arm_cortexa9/db8500/clock.c')
-rwxr-xr-xcpu/arm_cortexa9/db8500/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm_cortexa9/db8500/clock.c b/cpu/arm_cortexa9/db8500/clock.c
index 41f1bb254..9e3b87394 100755
--- a/cpu/arm_cortexa9/db8500/clock.c
+++ b/cpu/arm_cortexa9/db8500/clock.c
@@ -37,7 +37,7 @@ static unsigned int clkrst_base[] = {
U8500_CLKRST1_BASE,
U8500_CLKRST2_BASE,
U8500_CLKRST3_BASE,
- NULL,
+ 0,
U8500_CLKRST5_BASE,
U8500_CLKRST6_BASE,
U8500_CLKRST7_BASE, /* ED only */