summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorNitesh Narayan Lal <b44382@freescale.com>2014-07-01 19:54:54 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2014-07-08 21:06:36 +0800
commit178f827a60becdcff67df61cc9f0200fcce93f6c (patch)
treea23161a46baa9481e1a7a67949fcca1b854dc9ae /drivers/crypto
parent6f39da1cadac76fedc16d629a8f7c0d0eef814c6 (diff)
downloadlinux-next-178f827a60becdcff67df61cc9f0200fcce93f6c.tar.gz
crypto: caam - Enabling multiple caam debug support for C29x platform
In the current setup debug file system enables us to debug the operational details for only one CAAM. This patch adds the support for debugging multiple CAAM's. Signed-off-by: Nitesh Narayan Lal <b44382@freescale.com> Signed-off-by: Vakul Garg <b16394@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/caam/ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index 1d8e003d2582..c6e9d3b2d502 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -588,7 +588,7 @@ static int caam_probe(struct platform_device *pdev)
*/
perfmon = (struct caam_perfmon __force *)&ctrl->perfmon;
- ctrlpriv->dfs_root = debugfs_create_dir("caam", NULL);
+ ctrlpriv->dfs_root = debugfs_create_dir(dev_name(dev), NULL);
ctrlpriv->ctl = debugfs_create_dir("ctl", ctrlpriv->dfs_root);
/* Controller-level - performance monitor counters */