Skip to content

Commit

Permalink
crypto: add module.h to those files that are explicitly using it
Browse files Browse the repository at this point in the history
Part of the include cleanups means that the implicit
inclusion of module.h via device.h is going away.  So
fix things up in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
  • Loading branch information
paulgortmaker committed Oct 31, 2011
1 parent 310587c commit 4bb33cc
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions crypto/async_tx/async_memcpy.c
Expand Up @@ -25,6 +25,7 @@
*/
#include <linux/kernel.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/dma-mapping.h>
#include <linux/async_tx.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/async_tx/async_pq.c
Expand Up @@ -21,6 +21,7 @@
*/
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <linux/raid/pq.h>
#include <linux/async_tx.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/async_tx/async_raid6_recov.c
Expand Up @@ -22,6 +22,7 @@
*/
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <linux/raid/pq.h>
#include <linux/async_tx.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/async_tx/async_tx.c
Expand Up @@ -24,6 +24,7 @@
*
*/
#include <linux/rculist.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/async_tx.h>

Expand Down
1 change: 1 addition & 0 deletions crypto/async_tx/async_xor.c
Expand Up @@ -25,6 +25,7 @@
*/
#include <linux/kernel.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/dma-mapping.h>
#include <linux/raid/xor.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/async_tx/raid6test.c
Expand Up @@ -23,6 +23,7 @@
#include <linux/gfp.h>
#include <linux/mm.h>
#include <linux/random.h>
#include <linux/module.h>

#undef pr
#define pr(fmt, args...) pr_info("raid6test: " fmt, ##args)
Expand Down
1 change: 1 addition & 0 deletions crypto/crypto_wq.c
Expand Up @@ -12,6 +12,7 @@
*/

#include <linux/workqueue.h>
#include <linux/module.h>
#include <crypto/algapi.h>
#include <crypto/crypto_wq.h>

Expand Down
1 change: 1 addition & 0 deletions crypto/md4.c
Expand Up @@ -23,6 +23,7 @@
#include <crypto/internal/hash.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/types.h>
#include <asm/byteorder.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/proc.c
Expand Up @@ -16,6 +16,7 @@
#include <linux/atomic.h>
#include <linux/init.h>
#include <linux/crypto.h>
#include <linux/module.h> /* for module_name() */
#include <linux/rwsem.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/vmac.c
Expand Up @@ -27,6 +27,7 @@
#include <linux/init.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <asm/byteorder.h>
#include <crypto/scatterwalk.h>
Expand Down
1 change: 1 addition & 0 deletions crypto/xcbc.c
Expand Up @@ -22,6 +22,7 @@
#include <crypto/internal/hash.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>

static u_int32_t ks[12] = {0x01010101, 0x01010101, 0x01010101, 0x01010101,
0x02020202, 0x02020202, 0x02020202, 0x02020202,
Expand Down
1 change: 1 addition & 0 deletions drivers/crypto/mv_cesa.c
Expand Up @@ -15,6 +15,7 @@
#include <linux/platform_device.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <crypto/internal/hash.h>
#include <crypto/sha.h>

Expand Down

0 comments on commit 4bb33cc

Please sign in to comment.