mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
IDE: palm_bk3710: convert clock usage after clkdev conversion
DaVinci core code has converted to the new clkdev API so clock name strings are not needed. Instead, just the a 'struct device' pointer is needed. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
665d66e8fa
commit
468b5ef8a8
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ static int __init palm_bk3710_probe(struct platform_device *pdev)
|
||||||
int i, rc;
|
int i, rc;
|
||||||
struct ide_hw hw, *hws[] = { &hw };
|
struct ide_hw hw, *hws[] = { &hw };
|
||||||
|
|
||||||
clk = clk_get(&pdev->dev, "IDECLK");
|
clk = clk_get(&pdev->dev, NULL);
|
||||||
if (IS_ERR(clk))
|
if (IS_ERR(clk))
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue