[PATCH 01/11] drivers/crypto: include <module.h> for modular caam code

Paul Gortmaker
2015-05-01T01:48:08Z

This file is built off of a tristate Kconfig option and also contains
modular function calls so it should explicitly include module.h to
avoid compile breakage during header shuffles done in the future.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
drivers/crypto/caam/ctrl.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index efba4ccd4fac..b9ad19df372d 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -5,6 +5,7 @@
*/

#include <linux/device.h>
+#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>

--
2.2.1