Don't include linux/config.h from anywhere else in include/
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#ifndef __MTD_CFI_H__
|
||||
#define __MTD_CFI_H__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/interrupt.h>
|
||||
|
@@ -5,7 +5,6 @@
|
||||
#ifndef __LINUX_MTD_MAP_H__
|
||||
#define __LINUX_MTD_MAP_H__
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/string.h>
|
||||
|
@@ -13,7 +13,6 @@
|
||||
#error This is a kernel header. Perhaps include mtd-user.h instead?
|
||||
#endif
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/uio.h>
|
||||
|
@@ -56,7 +56,6 @@
|
||||
#ifndef __LINUX_MTD_NAND_H
|
||||
#define __LINUX_MTD_NAND_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <linux/wait.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/mtd/mtd.h>
|
||||
|
@@ -16,7 +16,6 @@
|
||||
|
||||
#ifndef __LINUX_MTD_PHYSMAP__
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#if defined(CONFIG_MTD_PHYSMAP)
|
||||
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#ifndef __LINUX_MTD_XIP_H__
|
||||
#define __LINUX_MTD_XIP_H__
|
||||
|
||||
#include <linux/config.h>
|
||||
|
||||
#ifdef CONFIG_MTD_XIP
|
||||
|
||||
|
Reference in New Issue
Block a user