2012-03-22 12:06:55

by Michał Wróbel

[permalink] [raw]
Subject: [PATCH] crypto: ixp4xx - include fix

Before commit de47725421ad5627a5c905f4e40bb844ebc06d29 ("include: replace
linux/module.h with "struct module" wherever possible") <linux/module.h> was
implicitly included through <linux/platform_device.h> -> <linux/device.h>.

Signed-off-by: Michał Wróbel <[email protected]>
---
drivers/crypto/ixp4xx_crypto.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/crypto/ixp4xx_crypto.c b/drivers/crypto/ixp4xx_crypto.c
index 4c20c5b..45704be 100644
--- a/drivers/crypto/ixp4xx_crypto.c
+++ b/drivers/crypto/ixp4xx_crypto.c
@@ -18,6 +18,7 @@
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/gfp.h>
+#include <linux/module.h>

#include <crypto/ctr.h>
#include <crypto/des.h>
--
1.7.5.4


2012-04-05 12:36:57

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: ixp4xx - include fix

On Thu, Mar 22, 2012 at 12:00:10PM +0000, Michał Wróbel wrote:
> Before commit de47725421ad5627a5c905f4e40bb844ebc06d29 ("include: replace
> linux/module.h with "struct module" wherever possible") <linux/module.h> was
> implicitly included through <linux/platform_device.h> -> <linux/device.h>.
>
> Signed-off-by: Michał Wróbel <[email protected]>

Patch applied to crypto.

Thanks,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt