Commit 452d9392 authored by Russell King's avatar Russell King

Add/remove <linux/config.h> includes as appropriate

parent 942a1e92
......@@ -9,6 +9,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
......
......@@ -12,8 +12,6 @@
* 80200 on chip interrupts. That'll change once the hardware adds
* support for PCI though.
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
......
......@@ -9,6 +9,7 @@
*
* Architecture specific fixups.
*/
#include <linux/config.h>
#include <linux/tty.h>
#include <linux/init.h>
......
......@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/string.h>
......
......@@ -8,7 +8,6 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/init.h>
......
......@@ -20,6 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/pci.h>
......
......@@ -13,8 +13,6 @@
* Added IOP310 chipset and IQ80310 board demuxing, masking code. - DS
*
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
......
......@@ -14,8 +14,6 @@
* Moved demux from asm to C - DS
* Fixes for various revision boards - DS
*/
#include <linux/config.h>
#include <linux/kernel_stat.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
......
......@@ -13,7 +13,7 @@
* option) any later version.
*
*/
#include <linux/config.h>
#include <linux/mm.h>
#include <linux/init.h>
......
......@@ -10,8 +10,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
......
......@@ -19,8 +19,6 @@
* and abstracted EGPIO interface.
*
*/
#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
......
......@@ -9,8 +9,6 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/sched.h>
......
......@@ -26,7 +26,6 @@
*
*
*/
#include <linux/config.h>
#include <linux/init.h>
#include <asm/hardware.h>
......
......@@ -5,7 +5,6 @@
*
* Copyright (C) 2001 Nicolas Pitre
*/
#include <linux/config.h>
#include <linux/init.h>
#include <asm/leds.h>
......
......@@ -13,7 +13,6 @@
*
* 06/13/2001 - created.
*/
#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
......
/*
* linux/arch/arm/mach-sa1100/yopy.c
*/
#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
......
/*
* Driver for PS/2 mouse on IOMD interface
*/
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/tty.h>
......
......@@ -8,8 +8,6 @@
* Drive tuning added from Rebel.com's kernel sources
* -- Russell King (15/11/98) linux@arm.linux.org.uk
*/
#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/timer.h>
......
......@@ -5,7 +5,7 @@
*
* Copyright (c) 2001 MontaVista Software, Inc.
*/
#include <linux/config.h>
/*
* This assumes you have a 1.8432 MHz clock for your UART.
......
......@@ -7,7 +7,6 @@
* (jonm@bluemug.com).
*/
#include <linux/config.h>
#include <asm/irq.h>
#include <asm/hardware.h>
......
......@@ -14,6 +14,7 @@
#ifndef __ASM_ARCH_UNCOMPRESS_H
#define __ASM_ARCH_UNCOMPRESS_H
#include <linux/config.h>
#include <asm/io.h>
#include <asm/arch/serial_reg.h>
......
......@@ -20,6 +20,8 @@
#ifndef __ASM_ARCH_MMU_H
#define __ASM_ARCH_MMU_H
#include <linux/config.h>
/*
* Task size: 3GB
*/
......
......@@ -6,6 +6,7 @@
* Copyright (C) 1998-2001 Russell King
* (C) 1998 Phil Blundell
*/
#include <linux/config.h>
#include <linux/ioport.h>
#include <asm/irq.h>
#include <asm/system.h>
......
......@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/config.h>
#include <asm/system.h>
#include <asm/leds.h>
#include <asm/arch/hardware.h>
......
......@@ -11,7 +11,7 @@
* 06/13/01: Added 80310 on-chip interrupt sources <dsaxena@mvista.com>
*
*/
#include <linux/config.h>
/*
* XS80200 specific IRQs
......
......@@ -5,6 +5,7 @@
#ifndef __ASM_ARCH_MEMORY_H
#define __ASM_ARCH_MEMORY_H
#include <linux/config.h>
/*
* Task size: 3GB
......
/*
* include/asm-arm/arch-iop310/serial.h
*/
#include <linux/config.h>
/*
* This assumes you have a 1.8432 MHz clock for your UART.
......
......@@ -3,7 +3,7 @@
*
* IOP310 architecture timex specifications
*/
#include <linux/config.h>
#ifdef CONFIG_ARCH_IQ80310
......
/*
* linux/include/asm-arm/arch-iop80310/uncompress.h
*/
#include <linux/config.h>
#ifdef CONFIG_ARCH_IQ80310
#define UART1_BASE ((volatile unsigned char *)0xfe800000)
......
......@@ -12,6 +12,8 @@
#ifndef __ASM_ARCH_ASSABET_H
#define __ASM_ARCH_ASSABET_H
#include <linux/config.h>
/* System Configuration Register flags */
#define ASSABET_SCR_SDRAM_LOW (1<<2) /* SDRAM size (low bit) */
......
#ifndef _INCLUDE_CERF_H_
#define _INCLUDE_CERF_H_
#include <linux/config.h>
#ifdef CONFIG_SA1100_CERF_CPLD
......
......@@ -6,11 +6,12 @@
* This file contains the hardware specific definitions for Pangolin
*
*/
#ifndef __ASM_ARCH_HARDWARE_H
#error "include <asm/hardware.h> instead"
#endif
#include <linux/config.h>
#ifndef CONFIG_SA1100_PANGOLIN_PCMCIA_IDE
/* GPIOs for which the generic definition doesn't say much */
......
......@@ -6,6 +6,7 @@
* (C) 1998 Russell King
* (C) 1998 Phil Blundell
*/
#include <linux/config.h>
#include <linux/ioport.h>
#include <asm/irq.h>
#include <asm/io.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment