Browse Source

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>
Kevin Hilman 16 years ago
parent
commit
468b5ef8a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/ide/palm_bk3710.c

+ 1 - 1
drivers/ide/palm_bk3710.c

@@ -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;