diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-09-19 12:55:12 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:21 -0400 |
commit | 6b9bafec6608539d07f7ccdeefe121dabe06604f (patch) | |
tree | 38a76e37746631b5ad7925864899a03b7b2836eb /drivers/ssb/driver_chipcommon.c | |
parent | 4b402c65a3a17257af45875159395278e4a2f0cd (diff) |
[SSB]: Sparse fixes.
This fixes all Sparse warnings in SSB.
No semantics change.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ssb/driver_chipcommon.c')
-rw-r--r-- | drivers/ssb/driver_chipcommon.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ssb/driver_chipcommon.c b/drivers/ssb/driver_chipcommon.c index a890544e8fba..6fbf1c53b6f2 100644 --- a/drivers/ssb/driver_chipcommon.c +++ b/drivers/ssb/driver_chipcommon.c | |||
@@ -345,8 +345,7 @@ void ssb_chipco_timing_init(struct ssb_chipcommon *cc, | |||
345 | } | 345 | } |
346 | 346 | ||
347 | /* Set chip watchdog reset timer to fire in 'ticks' backplane cycles */ | 347 | /* Set chip watchdog reset timer to fire in 'ticks' backplane cycles */ |
348 | void | 348 | void ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks) |
349 | ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks) | ||
350 | { | 349 | { |
351 | /* instant NMI */ | 350 | /* instant NMI */ |
352 | chipco_write32(cc, SSB_CHIPCO_WATCHDOG, ticks); | 351 | chipco_write32(cc, SSB_CHIPCO_WATCHDOG, ticks); |
@@ -359,12 +358,12 @@ u32 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask) | |||
359 | 358 | ||
360 | void ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value) | 359 | void ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value) |
361 | { | 360 | { |
362 | return chipco_write32_masked(cc, SSB_CHIPCO_GPIOOUT, mask, value); | 361 | chipco_write32_masked(cc, SSB_CHIPCO_GPIOOUT, mask, value); |
363 | } | 362 | } |
364 | 363 | ||
365 | void ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value) | 364 | void ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value) |
366 | { | 365 | { |
367 | return chipco_write32_masked(cc, SSB_CHIPCO_GPIOOUTEN, mask, value); | 366 | chipco_write32_masked(cc, SSB_CHIPCO_GPIOOUTEN, mask, value); |
368 | } | 367 | } |
369 | 368 | ||
370 | #ifdef CONFIG_SSB_SERIAL | 369 | #ifdef CONFIG_SSB_SERIAL |