From: Jamie Iles Date: Mon, 1 Aug 2011 16:25:18 +0000 (+0100) Subject: crypto: picoxcell - add connection ID to the clock name X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4efae8c9363e28892eaaf2a6463f2f5f255e6fb0;p=linux-beck.git crypto: picoxcell - add connection ID to the clock name For using the device tree probing we use a connection ID for the clk_get() operation. Cc: Herbert Xu Signed-off-by: Jamie Iles Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/picoxcell_crypto.c b/drivers/crypto/picoxcell_crypto.c index 4ffb903c5f9f..d119e0e32f23 100644 --- a/drivers/crypto/picoxcell_crypto.c +++ b/drivers/crypto/picoxcell_crypto.c @@ -1724,7 +1724,7 @@ static int __devinit spacc_probe(struct platform_device *pdev) spin_lock_init(&engine->hw_lock); - engine->clk = clk_get(&pdev->dev, NULL); + engine->clk = clk_get(&pdev->dev, "ref"); if (IS_ERR(engine->clk)) { dev_info(&pdev->dev, "clk unavailable\n"); device_remove_file(&pdev->dev, &dev_attr_stat_irq_thresh);