2019-06-24 21:56:22

by Gary R Hook

[permalink] [raw]
Subject: [PATCH 11/11] crypto: ccp - Expose the registerdma module parameter in DFS

Add a read-only variable to report the value of the parameter

Signed-off-by: Gary R Hook <[email protected]>
---
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 5b0a9c145c5a..c1c1e05a7c0f 100644
--- a/drivers/crypto/ccp/sp-pci.c
+++ b/drivers/crypto/ccp/sp-pci.c
@@ -104,6 +104,7 @@ modparam_t moduleparameters[] = {
{"maxdev", &maxdev, S_IRUSR},
{"nqueues", &nqueues, S_IRUSR},
{"pcidev", &pcidev, S_IRUSR},
+ {"registerdma", &registerdma, S_IRUSR},
{NULL, NULL, 0},
};