mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 16:29:05 +00:00
sh: board sh_clk_ops rename
Convert remaining sh board code to use sh_clk_ops. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
This commit is contained in:
parent
2e679b0b7a
commit
c953efdbb1
@ -322,7 +322,7 @@ static void ivdr_clk_disable(struct clk *clk)
|
|||||||
__raw_writew(__raw_readw(PA_IVDRCTL) & ~(1 << IVDR_CK_ON), PA_IVDRCTL);
|
__raw_writew(__raw_readw(PA_IVDRCTL) & ~(1 << IVDR_CK_ON), PA_IVDRCTL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct clk_ops ivdr_clk_ops = {
|
static struct sh_clk_ops ivdr_clk_ops = {
|
||||||
.enable = ivdr_clk_enable,
|
.enable = ivdr_clk_enable,
|
||||||
.disable = ivdr_clk_disable,
|
.disable = ivdr_clk_disable,
|
||||||
};
|
};
|
||||||
|
@ -167,7 +167,7 @@ static void sdk7786_pcie_clk_disable(struct clk *clk)
|
|||||||
fpga_write_reg(fpga_read_reg(PCIECR) & ~PCIECR_CLKEN, PCIECR);
|
fpga_write_reg(fpga_read_reg(PCIECR) & ~PCIECR_CLKEN, PCIECR);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct clk_ops sdk7786_pcie_clk_ops = {
|
static struct sh_clk_ops sdk7786_pcie_clk_ops = {
|
||||||
.enable = sdk7786_pcie_clk_enable,
|
.enable = sdk7786_pcie_clk_enable,
|
||||||
.disable = sdk7786_pcie_clk_disable,
|
.disable = sdk7786_pcie_clk_disable,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user