diff options
author | Nishanth Menon <nm@ti.com> | 2010-07-12 18:56:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 13:50:15 -0400 |
commit | 7124cb171108dea386b2c81334605da1d6f4554a (patch) | |
tree | d4cb7637779e758e13c2a456cecad95523c50eea /drivers/staging/tidspbridge/core/tiomap_io.c | |
parent | 2094f12d440c5a9fae032932266fa4a44135194c (diff) |
staging: tidspbridge: remove custom typedef reg_uword32
use readl, writel to get and set the register instead.
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/core/tiomap_io.c')
-rw-r--r-- | drivers/staging/tidspbridge/core/tiomap_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/tidspbridge/core/tiomap_io.c b/drivers/staging/tidspbridge/core/tiomap_io.c index 3f6d084ca50..4153eefce3f 100644 --- a/drivers/staging/tidspbridge/core/tiomap_io.c +++ b/drivers/staging/tidspbridge/core/tiomap_io.c | |||
@@ -439,7 +439,7 @@ int sm_interrupt_dsp(struct bridge_dev_context *dev_context, u16 mb_val) | |||
439 | omap_mbox_restore_ctx(dev_context->mbox); | 439 | omap_mbox_restore_ctx(dev_context->mbox); |
440 | 440 | ||
441 | /* Access MMU SYS CONFIG register to generate a short wakeup */ | 441 | /* Access MMU SYS CONFIG register to generate a short wakeup */ |
442 | temp = *(reg_uword32 *) (resources->dw_dmmu_base + 0x10); | 442 | temp = readl(resources->dw_dmmu_base + 0x10); |
443 | 443 | ||
444 | dev_context->dw_brd_state = BRD_RUNNING; | 444 | dev_context->dw_brd_state = BRD_RUNNING; |
445 | } else if (dev_context->dw_brd_state == BRD_RETENTION) { | 445 | } else if (dev_context->dw_brd_state == BRD_RETENTION) { |