[ARM] omap: DSP registers don't need to be casted
We're now assigning/comparing void __iomem pointers with void __iomem pointer variables. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
0062f1048b
commit
397fcaf717
2 changed files with 4 additions and 4 deletions
|
@ -625,7 +625,7 @@ static void __init omap1_clk_disable_unused(struct clk *clk)
|
||||||
|
|
||||||
/* Clocks in the DSP domain need api_ck. Just assume bootloader
|
/* Clocks in the DSP domain need api_ck. Just assume bootloader
|
||||||
* has not enabled any DSP clocks */
|
* has not enabled any DSP clocks */
|
||||||
if ((u32)clk->enable_reg == DSP_IDLECT2) {
|
if (clk->enable_reg == DSP_IDLECT2) {
|
||||||
printk(KERN_INFO "Skipping reset check for DSP domain "
|
printk(KERN_INFO "Skipping reset check for DSP domain "
|
||||||
"clock \"%s\"\n", clk->name);
|
"clock \"%s\"\n", clk->name);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -324,7 +324,7 @@ static struct clk dspper_ck = {
|
||||||
.parent = &ck_dpll1,
|
.parent = &ck_dpll1,
|
||||||
.flags = CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
|
.flags = CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
|
||||||
RATE_CKCTL | VIRTUAL_IO_ADDRESS,
|
RATE_CKCTL | VIRTUAL_IO_ADDRESS,
|
||||||
.enable_reg = (void __iomem *)DSP_IDLECT2,
|
.enable_reg = DSP_IDLECT2,
|
||||||
.enable_bit = EN_PERCK,
|
.enable_bit = EN_PERCK,
|
||||||
.rate_offset = CKCTL_PERDIV_OFFSET,
|
.rate_offset = CKCTL_PERDIV_OFFSET,
|
||||||
.recalc = &omap1_ckctl_recalc_dsp_domain,
|
.recalc = &omap1_ckctl_recalc_dsp_domain,
|
||||||
|
@ -338,7 +338,7 @@ static struct clk dspxor_ck = {
|
||||||
.parent = &ck_ref,
|
.parent = &ck_ref,
|
||||||
.flags = CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
|
.flags = CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
|
||||||
VIRTUAL_IO_ADDRESS,
|
VIRTUAL_IO_ADDRESS,
|
||||||
.enable_reg = (void __iomem *)DSP_IDLECT2,
|
.enable_reg = DSP_IDLECT2,
|
||||||
.enable_bit = EN_XORPCK,
|
.enable_bit = EN_XORPCK,
|
||||||
.recalc = &followparent_recalc,
|
.recalc = &followparent_recalc,
|
||||||
.enable = &omap1_clk_enable_dsp_domain,
|
.enable = &omap1_clk_enable_dsp_domain,
|
||||||
|
@ -350,7 +350,7 @@ static struct clk dsptim_ck = {
|
||||||
.parent = &ck_ref,
|
.parent = &ck_ref,
|
||||||
.flags = CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
|
.flags = CLOCK_IN_OMAP310 | CLOCK_IN_OMAP1510 | CLOCK_IN_OMAP16XX |
|
||||||
VIRTUAL_IO_ADDRESS,
|
VIRTUAL_IO_ADDRESS,
|
||||||
.enable_reg = (void __iomem *)DSP_IDLECT2,
|
.enable_reg = DSP_IDLECT2,
|
||||||
.enable_bit = EN_DSPTIMCK,
|
.enable_bit = EN_DSPTIMCK,
|
||||||
.recalc = &followparent_recalc,
|
.recalc = &followparent_recalc,
|
||||||
.enable = &omap1_clk_enable_dsp_domain,
|
.enable = &omap1_clk_enable_dsp_domain,
|
||||||
|
|
Reference in a new issue