aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ssb/driver_chipcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ssb/driver_chipcommon.c')
-rw-r--r--drivers/ssb/driver_chipcommon.c7
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 */
348void 348void ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks)
349ssb_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
360void ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value) 359void 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
365void ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value) 364void 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