浏览代码

sh: Kill off remaining config.h references.

A few of these managed to sneak back in, get rid of them once
and for all.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 18 年之前
父节点
当前提交
2914d4da17

+ 0 - 1
arch/sh/boards/hp6xx/hp6xx_apm.c

@@ -6,7 +6,6 @@
  * This program is free software; you can redistribute it and/or
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License.
  * modify it under the terms of the GNU General Public License.
  */
  */
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/apm_bios.h>
 #include <linux/apm_bios.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>

+ 0 - 1
arch/sh/boards/hp6xx/pm.c

@@ -6,7 +6,6 @@
  * This program is free software; you can redistribute it and/or
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License.
  * modify it under the terms of the GNU General Public License.
  */
  */
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/suspend.h>
 #include <linux/suspend.h>
 #include <linux/errno.h>
 #include <linux/errno.h>

+ 0 - 2
arch/sh/boards/landisk/irq.c

@@ -14,8 +14,6 @@
  * modified by kogiidena
  * modified by kogiidena
  * 2005.03.03
  * 2005.03.03
  */
  */
-
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/irq.h>
 #include <asm/io.h>
 #include <asm/io.h>

+ 0 - 2
arch/sh/boards/landisk/landisk_pwb.c

@@ -11,8 +11,6 @@
  *
  *
  * LED control drive function added by kogiidena
  * LED control drive function added by kogiidena
  */
  */
-
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/errno.h>
 #include <linux/signal.h>
 #include <linux/signal.h>

+ 0 - 2
arch/sh/boards/landisk/rtc.c

@@ -8,8 +8,6 @@
  * modifed by kogiidena
  * modifed by kogiidena
  * 2005.09.16
  * 2005.09.16
  */
  */
-
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/sched.h>

+ 0 - 1
arch/sh/boards/landisk/setup.c

@@ -16,7 +16,6 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  * for more details.
  */
  */
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/pm.h>
 #include <linux/pm.h>
 #include <linux/mm.h>
 #include <linux/mm.h>

+ 0 - 2
arch/sh/boards/renesas/r7780rp/irq.c

@@ -8,8 +8,6 @@
  * Modified for R7780RP-1 by
  * Modified for R7780RP-1 by
  * Atom Create Engineering Co., Ltd. 2002.
  * Atom Create Engineering Co., Ltd. 2002.
  */
  */
-
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/irq.h>
 #include <linux/irq.h>
 #include <asm/io.h>
 #include <asm/io.h>

+ 0 - 2
arch/sh/boards/renesas/r7780rp/led.c

@@ -6,8 +6,6 @@
  *
  *
  * This file contains Renesas Solutions HIGHLANDER R7780RP-1 specific LED code.
  * This file contains Renesas Solutions HIGHLANDER R7780RP-1 specific LED code.
  */
  */
-
-#include <linux/config.h>
 #include <linux/sched.h>
 #include <linux/sched.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/r7780rp/r7780rp.h>
 #include <asm/r7780rp/r7780rp.h>

+ 0 - 2
arch/sh/boards/se/7343/io.c

@@ -4,8 +4,6 @@
  * I/O routine for SH-Mobile3AS 7343 SolutionEngine.
  * I/O routine for SH-Mobile3AS 7343 SolutionEngine.
  *
  *
  */
  */
-
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/mach/se7343.h>
 #include <asm/mach/se7343.h>

+ 0 - 2
arch/sh/boards/se/7343/irq.c

@@ -2,8 +2,6 @@
  * arch/sh/boards/se/7343/irq.c
  * arch/sh/boards/se/7343/irq.c
  *
  *
  */
  */
-
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
 #include <linux/irq.h>

+ 0 - 2
arch/sh/boards/se/7343/led.c

@@ -2,8 +2,6 @@
  * arch/sh/boards/se/7343/led.c
  * arch/sh/boards/se/7343/led.c
  *
  *
  */
  */
-
-#include <linux/config.h>
 #include <linux/sched.h>
 #include <linux/sched.h>
 #include <asm/mach/se7343.h>
 #include <asm/mach/se7343.h>
 
 

+ 0 - 1
arch/sh/boards/se/7343/setup.c

@@ -1,4 +1,3 @@
-#include <linux/config.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/platform_device.h>
 #include <asm/machvec.h>
 #include <asm/machvec.h>

+ 0 - 1
arch/sh/drivers/pci/ops-landisk.c

@@ -8,7 +8,6 @@
  * May be copied or modified under the terms of the GNU General Public
  * May be copied or modified under the terms of the GNU General Public
  * License.  See linux/COPYING for more information.
  * License.  See linux/COPYING for more information.
  */
  */
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/init.h>

+ 0 - 2
arch/sh/drivers/pci/ops-r7780rp.c

@@ -8,8 +8,6 @@
  *
  *
  * PCI initialization for the Renesas SH7780 Highlander R7780RP-1 board
  * PCI initialization for the Renesas SH7780 Highlander R7780RP-1 board
  */
  */
-
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/init.h>

+ 0 - 2
arch/sh/drivers/pci/ops-titan.c

@@ -11,8 +11,6 @@
  *
  *
  * PCI initialization for the Titan boards
  * PCI initialization for the Titan boards
  */
  */
-
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/types.h>
 #include <linux/init.h>
 #include <linux/init.h>

+ 0 - 2
arch/sh/drivers/pci/pci-sh7780.c

@@ -12,10 +12,8 @@
  *  License.  See linux/COPYING for more information.
  *  License.  See linux/COPYING for more information.
  *
  *
  */
  */
-
 #undef DEBUG
 #undef DEBUG
 
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/init.h>

+ 0 - 1
arch/sh/kernel/apm.c

@@ -16,7 +16,6 @@
  * [This document is available from Microsoft at:
  * [This document is available from Microsoft at:
  *    http://www.microsoft.com/hwdev/busbios/amp_12.htm]
  *    http://www.microsoft.com/hwdev/busbios/amp_12.htm]
  */
  */
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/module.h>
 #include <linux/poll.h>
 #include <linux/poll.h>
 #include <linux/timer.h>
 #include <linux/timer.h>

+ 0 - 1
arch/sh/math-emu/math.c

@@ -7,7 +7,6 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  * for more details.
  */
  */
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/types.h>

+ 0 - 2
arch/sh/tools/gen-mach-types

@@ -20,8 +20,6 @@ END	{
 	  printf("#ifndef __ASM_SH_MACHTYPES_H\n");
 	  printf("#ifndef __ASM_SH_MACHTYPES_H\n");
 	  printf("#define __ASM_SH_MACHTYPES_H\n");
 	  printf("#define __ASM_SH_MACHTYPES_H\n");
 	  printf("\n");
 	  printf("\n");
-	  printf("#include <linux/config.h>\n");
-	  printf("\n");
 	  printf("/*\n");
 	  printf("/*\n");
 	  printf(" * We'll use the following MACH_xxx defs for placeholders for the time\n");
 	  printf(" * We'll use the following MACH_xxx defs for placeholders for the time\n");
 	  printf(" * being .. these will all go away once sh_machtype is assigned per-board.\n");
 	  printf(" * being .. these will all go away once sh_machtype is assigned per-board.\n");

+ 0 - 2
include/asm-sh/sfp-machine.h

@@ -25,8 +25,6 @@
 #ifndef _SFP_MACHINE_H
 #ifndef _SFP_MACHINE_H
 #define _SFP_MACHINE_H
 #define _SFP_MACHINE_H
 
 
-#include <linux/config.h>
-
 #define _FP_W_TYPE_SIZE		32
 #define _FP_W_TYPE_SIZE		32
 #define _FP_W_TYPE		unsigned long
 #define _FP_W_TYPE		unsigned long
 #define _FP_WS_TYPE		signed long
 #define _FP_WS_TYPE		signed long