crypto: picoxcell - add connection ID to the clock name
authorJamie Iles <jamie@jamieiles.com>
Mon, 1 Aug 2011 16:25:18 +0000 (17:25 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Aug 2011 11:00:24 +0000 (19:00 +0800)
For using the device tree probing we use a connection ID for the
clk_get() operation.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/picoxcell_crypto.c

index 4ffb903c5f9ff58f99fa425d523429db16aa10a8..d119e0e32f23831963b8cfec81ee3706ea331502 100644 (file)
@@ -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);