diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-08-01 12:25:18 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-08-10 07:00:24 -0400 |
commit | 4efae8c9363e28892eaaf2a6463f2f5f255e6fb0 (patch) | |
tree | 480ba58fdf1ee455a9d6fb7688f3e321a9d7bfb1 /drivers/crypto/picoxcell_crypto.c | |
parent | c3f4200f57c0efe05b15547f42edac0fd023da17 (diff) |
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 <herbert@gondor.apana.org.au>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/picoxcell_crypto.c')
-rw-r--r-- | drivers/crypto/picoxcell_crypto.c | 2 |
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); |