Add a read-only debugfs entry for the module parameter 'maxdev'.

Signed-off-by: Gary R Hook <gary.h...@amd.com>
---
 drivers/crypto/ccp/sp-pci.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/ccp/sp-pci.c b/drivers/crypto/ccp/sp-pci.c
index b81493810689..29177d113c90 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -49,6 +49,7 @@ MODULE_PARM_DESC(nqueues, "Number of queues per CCP (default: 
5)");
 
 #ifdef CONFIG_CRYPTO_DEV_CCP_DEBUGFS
 modparam_t      moduleparameters[] = {
+       {"maxdev", &maxdev, S_IRUSR},
        {"nqueues", &nqueues, S_IRUSR},
        {NULL, NULL, 0},
 };

Reply via email to