Explorar o código

mxcmmc: Do not pass clock name, we have only one clock for this device

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer %!s(int64=16) %!d(string=hai) anos
pai
achega
06277b5c40
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/mmc/host/mxcmmc.c

+ 1 - 1
drivers/mmc/host/mxcmmc.c

@@ -707,7 +707,7 @@ static int mxcmci_probe(struct platform_device *pdev)
 	host->res = r;
 	host->res = r;
 	host->irq = irq;
 	host->irq = irq;
 
 
-	host->clk = clk_get(&pdev->dev, "sdhc_clk");
+	host->clk = clk_get(&pdev->dev, NULL);
 	if (IS_ERR(host->clk)) {
 	if (IS_ERR(host->clk)) {
 		ret = PTR_ERR(host->clk);
 		ret = PTR_ERR(host->clk);
 		goto out_iounmap;
 		goto out_iounmap;