ARM: Orion: SPI: Add clk/clkdev support.
Remove now redundant tclk from SPI platform data. This makes the platform data empty, so remove it. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Jamie Lentin <jm@lentin.co.uk> Signed-off-by: Mike Turquette <mturquette@linaro.org>
这个提交包含在:
@@ -79,6 +79,8 @@ static void __init clk_init(void)
|
||||
{
|
||||
tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT,
|
||||
orion5x_tclk);
|
||||
|
||||
orion_clkdev_init(tclk);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
@@ -144,7 +146,7 @@ void __init orion5x_sata_init(struct mv_sata_platform_data *sata_data)
|
||||
****************************************************************************/
|
||||
void __init orion5x_spi_init()
|
||||
{
|
||||
orion_spi_init(SPI_PHYS_BASE, orion5x_tclk);
|
||||
orion_spi_init(SPI_PHYS_BASE);
|
||||
}
|
||||
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户