Skip to content

Commit

Permalink
drop explicit include of autoconf.h
Browse files Browse the repository at this point in the history
kbuild.h forces include of autoconf.h on the
commandline using -include - so we do not need to
include the file explicit.

Signed-off-by: Sam Ravnborg <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
sravnborg authored and michal42 committed Dec 12, 2009
1 parent 9204595 commit 98b8788
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion arch/cris/arch-v32/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* The macros found in mmu_defs_asm.h uses the ## concatenation operator, so
* -traditional must not be used when assembling this file.
*/
#include <linux/autoconf.h>
#include <arch/memmap.h>
#include <hwregs/reg_rdwr.h>
#include <hwregs/intr_vect.h>
Expand Down
1 change: 0 additions & 1 deletion arch/cris/kernel/asm-offsets.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <linux/sched.h>
#include <asm/thread_info.h>
#include <linux/autoconf.h>

/*
* Generate definitions needed by assembly language modules.
Expand Down
1 change: 0 additions & 1 deletion arch/cris/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* the kernel has booted.
*/

#include <linux/autoconf.h>
#include <asm-generic/vmlinux.lds.h>
#include <asm/page.h>

Expand Down
1 change: 0 additions & 1 deletion arch/ia64/kvm/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
*
*/

#include <linux/autoconf.h>
#include <linux/kvm_host.h>
#include <linux/kbuild.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/accessibility/braille/braille_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include <linux/autoconf.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
Expand Down
2 changes: 0 additions & 2 deletions drivers/hid/hid-lg.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __HID_LG_H
#define __HID_LG_H

#include <linux/autoconf.h>

#ifdef CONFIG_LOGITECH_FF
int lgff_init(struct hid_device *hdev);
#else
Expand Down
1 change: 0 additions & 1 deletion drivers/platform/x86/compal-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
#include <linux/dmi.h>
#include <linux/backlight.h>
#include <linux/platform_device.h>
#include <linux/autoconf.h>

#define COMPAL_DRIVER_VERSION "0.2.6"

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/iio/ring_sw.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* driver requests - some may support multiple options */


#include <linux/autoconf.h>
#include "iio.h"
#include "ring_generic.h"

Expand Down
2 changes: 0 additions & 2 deletions include/linux/mmdebug.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef LINUX_MM_DEBUG_H
#define LINUX_MM_DEBUG_H 1

#include <linux/autoconf.h>

#ifdef CONFIG_DEBUG_VM
#define VM_BUG_ON(cond) BUG_ON(cond)
#else
Expand Down

0 comments on commit 98b8788

Please sign in to comment.