diff mbox series

crypto: api - Include moduleparam.h in algapi.h

Message ID ZGds+aqCYGDXoEQc@gondor.apana.org.au
State New
Headers show
Series crypto: api - Include moduleparam.h in algapi.h | expand

Commit Message

Herbert Xu May 19, 2023, 12:35 p.m. UTC
The header file algapi.h uses __MODULE_INFO but doesn't include
its definition.  Fix this by including moduleparam.h.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
diff mbox series

Patch

diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index 016d5a302b84..2d414b130e26 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -11,6 +11,7 @@ 
 #include <linux/align.h>
 #include <linux/cache.h>
 #include <linux/crypto.h>
+#include <linux/moduleparam.h>
 #include <linux/types.h>
 
 /*