Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c141611f authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Benjamin Herrenschmidt
Browse files

powerpc: Delete non-required instances of include <linux/init.h>



None of these files are actually using any __init type directives
and hence don't need to include <linux/init.h>.  Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

The one instance where we add an include for init.h covers off
a case where that file was implicitly getting it from another
header which itself didn't need it.

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 8fe9c93e
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,6 @@


#ifdef CONFIG_PPC64
#ifdef CONFIG_PPC64


#include <linux/init.h>
#include <asm/types.h>
#include <asm/types.h>
#include <asm/lppaca.h>
#include <asm/lppaca.h>
#include <asm/mmu.h>
#include <asm/mmu.h>
+0 −1
Original line number Original line Diff line number Diff line
@@ -4,7 +4,6 @@
#ifndef _ASM_POWERPC_PPC_ASM_H
#ifndef _ASM_POWERPC_PPC_ASM_H
#define _ASM_POWERPC_PPC_ASM_H
#define _ASM_POWERPC_PPC_ASM_H


#include <linux/init.h>
#include <linux/stringify.h>
#include <linux/stringify.h>
#include <asm/asm-compat.h>
#include <asm/asm-compat.h>
#include <asm/processor.h>
#include <asm/processor.h>
+0 −1
Original line number Original line Diff line number Diff line
@@ -21,7 +21,6 @@
#if !defined(_ASM_POWERPC_PS3_H)
#if !defined(_ASM_POWERPC_PS3_H)
#define _ASM_POWERPC_PS3_H
#define _ASM_POWERPC_PS3_H


#include <linux/init.h>
#include <linux/types.h>
#include <linux/types.h>
#include <linux/device.h>
#include <linux/device.h>
#include <asm/cell-pmu.h>
#include <asm/cell-pmu.h>
+0 −1
Original line number Original line Diff line number Diff line
@@ -15,7 +15,6 @@
#define _ASM_POWERPC_VIO_H
#define _ASM_POWERPC_VIO_H
#ifdef __KERNEL__
#ifdef __KERNEL__


#include <linux/init.h>
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/dma-mapping.h>
+0 −1
Original line number Original line Diff line number Diff line
@@ -12,7 +12,6 @@


#include <linux/cpu.h>
#include <linux/cpu.h>
#include <linux/cpumask.h>
#include <linux/cpumask.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/kobject.h>
#include <linux/kobject.h>
#include <linux/list.h>
#include <linux/list.h>
Loading