aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/crypto/picoxcell_crypto.c2
1 files changed, 1 insertions, 1 deletions
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)
1724 1724
1725 spin_lock_init(&engine->hw_lock); 1725 spin_lock_init(&engine->hw_lock);
1726 1726
1727 engine->clk = clk_get(&pdev->dev, NULL); 1727 engine->clk = clk_get(&pdev->dev, "ref");
1728 if (IS_ERR(engine->clk)) { 1728 if (IS_ERR(engine->clk)) {
1729 dev_info(&pdev->dev, "clk unavailable\n"); 1729 dev_info(&pdev->dev, "clk unavailable\n");
1730 device_remove_file(&pdev->dev, &dev_attr_stat_irq_thresh); 1730 device_remove_file(&pdev->dev, &dev_attr_stat_irq_thresh);