Skip to content

Commit 11bcb32

Browse files
committed
Merge tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
Pull cleanup of fs/ and lib/ users of module.h from Paul Gortmaker: "Fix up files in fs/ and lib/ dirs to only use module.h if they really need it. These are trivial in scope vs the work done previously. We now have things where any few remaining cleanups can be farmed out to arch or subsystem maintainers, and I have done so when possible. What is remaining here represents the bits that don't clearly lie within a single arch/subsystem boundary, like the fs dir and the lib dir. Some duplicate includes arising from overlapping fixes from independent subsystem maintainer submissions are also quashed." Fix up trivial conflicts due to clashes with other include file cleanups (including some due to the previous bug.h cleanup pull). * tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: lib: reduce the use of module.h wherever possible fs: reduce the use of module.h wherever possible includecheck: delete any duplicate instances of module.h
2 parents ed2d265 + 8bc3bcc commit 11bcb32

100 files changed

Lines changed: 100 additions & 100 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/dma/imx-dma.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* http://www.gnu.org/copyleft/gpl.html
1515
*/
1616
#include <linux/init.h>
17-
#include <linux/module.h>
1817
#include <linux/types.h>
1918
#include <linux/mm.h>
2019
#include <linux/interrupt.h>

‎drivers/dma/imx-sdma.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include <linux/dmaengine.h>
3636
#include <linux/of.h>
3737
#include <linux/of_device.h>
38-
#include <linux/module.h>
3938

4039
#include <asm/irq.h>
4140
#include <mach/sdma.h>

‎drivers/mmc/host/sdhci-tegra.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include <linux/gpio.h>
2424
#include <linux/mmc/card.h>
2525
#include <linux/mmc/host.h>
26-
#include <linux/module.h>
2726

2827
#include <asm/gpio.h>
2928

‎drivers/power/max8998_charger.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2020
*/
2121

22-
#include <linux/module.h>
2322
#include <linux/err.h>
2423
#include <linux/module.h>
2524
#include <linux/slab.h>

‎drivers/staging/iio/gyro/adis16060_core.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#include <linux/spi/spi.h>
1515
#include <linux/slab.h>
1616
#include <linux/sysfs.h>
17-
#include <linux/module.h>
1817

1918
#include "../iio.h"
2019
#include "../sysfs.h"

‎fs/aio.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <linux/errno.h>
1414
#include <linux/time.h>
1515
#include <linux/aio_abi.h>
16-
#include <linux/module.h>
16+
#include <linux/export.h>
1717
#include <linux/syscalls.h>
1818
#include <linux/backing-dev.h>
1919
#include <linux/uio.h>

‎fs/attr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* changes by Thomas Schoebel-Theuer
66
*/
77

8-
#include <linux/module.h>
8+
#include <linux/export.h>
99
#include <linux/time.h>
1010
#include <linux/mm.h>
1111
#include <linux/string.h>

‎fs/bad_inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010

1111
#include <linux/fs.h>
12-
#include <linux/module.h>
12+
#include <linux/export.h>
1313
#include <linux/stat.h>
1414
#include <linux/time.h>
1515
#include <linux/namei.h>

‎fs/binfmt_flat.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* JAN/99 -- coded full program relocation (gerg@snapgear.com)
1616
*/
1717

18-
#include <linux/module.h>
18+
#include <linux/export.h>
1919
#include <linux/kernel.h>
2020
#include <linux/sched.h>
2121
#include <linux/mm.h>

‎fs/bio.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <linux/slab.h>
2323
#include <linux/init.h>
2424
#include <linux/kernel.h>
25-
#include <linux/module.h>
25+
#include <linux/export.h>
2626
#include <linux/mempool.h>
2727
#include <linux/workqueue.h>
2828
#include <scsi/sg.h> /* for struct sg_iovec */

0 commit comments

Comments
 (0)