Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6ae0185f
Commit
6ae0185f
authored
Aug 08, 2010
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtd: Remove obsolete <mtd/compatmac.h> include
Signed-off-by:
David Woodhouse
<
David.Woodhouse@intel.com
>
parent
a1452a37
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
0 additions
and
34 deletions
+0
-34
drivers/mtd/chips/cfi_cmdset_0001.c
drivers/mtd/chips/cfi_cmdset_0001.c
+0
-1
drivers/mtd/chips/cfi_cmdset_0002.c
drivers/mtd/chips/cfi_cmdset_0002.c
+0
-1
drivers/mtd/chips/cfi_cmdset_0020.c
drivers/mtd/chips/cfi_cmdset_0020.c
+0
-1
drivers/mtd/chips/cfi_util.c
drivers/mtd/chips/cfi_util.c
+0
-1
drivers/mtd/chips/chipreg.c
drivers/mtd/chips/chipreg.c
+0
-1
drivers/mtd/chips/map_absent.c
drivers/mtd/chips/map_absent.c
+0
-1
drivers/mtd/chips/map_ram.c
drivers/mtd/chips/map_ram.c
+0
-1
drivers/mtd/chips/map_rom.c
drivers/mtd/chips/map_rom.c
+0
-1
drivers/mtd/devices/docecc.c
drivers/mtd/devices/docecc.c
+0
-1
drivers/mtd/devices/docprobe.c
drivers/mtd/devices/docprobe.c
+0
-1
drivers/mtd/devices/mtdram.c
drivers/mtd/devices/mtdram.c
+0
-1
drivers/mtd/devices/pmc551.c
drivers/mtd/devices/pmc551.c
+0
-1
drivers/mtd/inftlmount.c
drivers/mtd/inftlmount.c
+0
-1
drivers/mtd/mtdchar.c
drivers/mtd/mtdchar.c
+0
-1
drivers/mtd/mtdcore.c
drivers/mtd/mtdcore.c
+0
-1
drivers/mtd/mtdpart.c
drivers/mtd/mtdpart.c
+0
-1
drivers/mtd/nand/diskonchip.c
drivers/mtd/nand/diskonchip.c
+0
-1
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_base.c
+0
-1
drivers/mtd/nand/nand_bbt.c
drivers/mtd/nand/nand_bbt.c
+0
-1
drivers/mtd/nand/rtc_from4.c
drivers/mtd/nand/rtc_from4.c
+0
-1
drivers/mtd/onenand/onenand_bbt.c
drivers/mtd/onenand/onenand_bbt.c
+0
-1
fs/jffs2/nodelist.h
fs/jffs2/nodelist.h
+0
-1
include/linux/mtd/compatmac.h
include/linux/mtd/compatmac.h
+0
-10
include/linux/mtd/map.h
include/linux/mtd/map.h
+0
-1
include/linux/mtd/mtd.h
include/linux/mtd/mtd.h
+0
-1
No files found.
drivers/mtd/chips/cfi_cmdset_0001.c
View file @
6ae0185f
...
...
@@ -34,7 +34,6 @@
#include <linux/mtd/xip.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/compatmac.h>
#include <linux/mtd/cfi.h>
/* #define CMDSET0001_DISABLE_ERASE_SUSPEND_ON_WRITE */
...
...
drivers/mtd/chips/cfi_cmdset_0002.c
View file @
6ae0185f
...
...
@@ -33,7 +33,6 @@
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/reboot.h>
#include <linux/mtd/compatmac.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/cfi.h>
...
...
drivers/mtd/chips/cfi_cmdset_0020.c
View file @
6ae0185f
...
...
@@ -33,7 +33,6 @@
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/compatmac.h>
static
int
cfi_staa_read
(
struct
mtd_info
*
,
loff_t
,
size_t
,
size_t
*
,
u_char
*
);
...
...
drivers/mtd/chips/cfi_util.c
View file @
6ae0185f
...
...
@@ -22,7 +22,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>
#include <linux/mtd/compatmac.h>
int
__xipram
cfi_qry_present
(
struct
map_info
*
map
,
__u32
base
,
struct
cfi_private
*
cfi
)
...
...
drivers/mtd/chips/chipreg.c
View file @
6ae0185f
...
...
@@ -10,7 +10,6 @@
#include <linux/slab.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/compatmac.h>
static
DEFINE_SPINLOCK
(
chip_drvs_lock
);
static
LIST_HEAD
(
chip_drvs_list
);
...
...
drivers/mtd/chips/map_absent.c
View file @
6ae0185f
...
...
@@ -25,7 +25,6 @@
#include <linux/init.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/compatmac.h>
static
int
map_absent_read
(
struct
mtd_info
*
,
loff_t
,
size_t
,
size_t
*
,
u_char
*
);
static
int
map_absent_write
(
struct
mtd_info
*
,
loff_t
,
size_t
,
size_t
*
,
const
u_char
*
);
...
...
drivers/mtd/chips/map_ram.c
View file @
6ae0185f
...
...
@@ -13,7 +13,6 @@
#include <linux/init.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/compatmac.h>
static
int
mapram_read
(
struct
mtd_info
*
,
loff_t
,
size_t
,
size_t
*
,
u_char
*
);
...
...
drivers/mtd/chips/map_rom.c
View file @
6ae0185f
...
...
@@ -13,7 +13,6 @@
#include <linux/init.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/compatmac.h>
static
int
maprom_read
(
struct
mtd_info
*
,
loff_t
,
size_t
,
size_t
*
,
u_char
*
);
static
int
maprom_write
(
struct
mtd_info
*
,
loff_t
,
size_t
,
size_t
*
,
const
u_char
*
);
...
...
drivers/mtd/devices/docecc.c
View file @
6ae0185f
...
...
@@ -31,7 +31,6 @@
#include <linux/init.h>
#include <linux/types.h>
#include <linux/mtd/compatmac.h>
/* for min() in older kernels */
#include <linux/mtd/mtd.h>
#include <linux/mtd/doc2000.h>
...
...
drivers/mtd/devices/docprobe.c
View file @
6ae0185f
...
...
@@ -49,7 +49,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/doc2000.h>
#include <linux/mtd/compatmac.h>
/* Where to look for the devices? */
#ifndef CONFIG_MTD_DOCPROBE_ADDRESS
...
...
drivers/mtd/devices/mtdram.c
View file @
6ae0185f
...
...
@@ -14,7 +14,6 @@
#include <linux/ioport.h>
#include <linux/vmalloc.h>
#include <linux/init.h>
#include <linux/mtd/compatmac.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/mtdram.h>
...
...
drivers/mtd/devices/pmc551.c
View file @
6ae0185f
...
...
@@ -98,7 +98,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/pmc551.h>
#include <linux/mtd/compatmac.h>
static
struct
mtd_info
*
pmc551list
;
...
...
drivers/mtd/inftlmount.c
View file @
6ae0185f
...
...
@@ -34,7 +34,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/nftl.h>
#include <linux/mtd/inftl.h>
#include <linux/mtd/compatmac.h>
/*
* find_boot_record: Find the INFTL Media Header and its Spare copy which
...
...
drivers/mtd/mtdchar.c
View file @
6ae0185f
...
...
@@ -33,7 +33,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/compatmac.h>
#include <asm/uaccess.h>
...
...
drivers/mtd/mtdcore.c
View file @
6ae0185f
...
...
@@ -31,7 +31,6 @@
#include <linux/err.h>
#include <linux/ioctl.h>
#include <linux/init.h>
#include <linux/mtd/compatmac.h>
#include <linux/proc_fs.h>
#include <linux/idr.h>
#include <linux/backing-dev.h>
...
...
drivers/mtd/mtdpart.c
View file @
6ae0185f
...
...
@@ -29,7 +29,6 @@
#include <linux/kmod.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/compatmac.h>
/* Our partition linked list */
static
LIST_HEAD
(
mtd_partitions
);
...
...
drivers/mtd/nand/diskonchip.c
View file @
6ae0185f
...
...
@@ -29,7 +29,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/doc2000.h>
#include <linux/mtd/compatmac.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/inftl.h>
...
...
drivers/mtd/nand/nand_base.c
View file @
6ae0185f
...
...
@@ -42,7 +42,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/compatmac.h>
#include <linux/interrupt.h>
#include <linux/bitops.h>
#include <linux/leds.h>
...
...
drivers/mtd/nand/nand_bbt.c
View file @
6ae0185f
...
...
@@ -55,7 +55,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/compatmac.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/vmalloc.h>
...
...
drivers/mtd/nand/rtc_from4.c
View file @
6ae0185f
...
...
@@ -24,7 +24,6 @@
#include <linux/rslib.h>
#include <linux/bitrev.h>
#include <linux/module.h>
#include <linux/mtd/compatmac.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
...
...
drivers/mtd/onenand/onenand_bbt.c
View file @
6ae0185f
...
...
@@ -15,7 +15,6 @@
#include <linux/slab.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
#include <linux/mtd/compatmac.h>
/**
* check_short_pattern - [GENERIC] check if a pattern is in the buffer
...
...
fs/jffs2/nodelist.h
View file @
6ae0185f
...
...
@@ -24,7 +24,6 @@
#ifdef __ECOS
#include "os-ecos.h"
#else
#include <linux/mtd/compatmac.h>
/* For compatibility with older kernels */
#include "os-linux.h"
#endif
...
...
include/linux/mtd/compatmac.h
deleted
100644 → 0
View file @
a1452a37
#ifndef __LINUX_MTD_COMPATMAC_H__
#define __LINUX_MTD_COMPATMAC_H__
/* Nothing to see here. We write 2.5-compatible code and this
file makes it all OK in older kernels, but it's empty in _current_
kernels. Include guard just to make GCC ignore it in future inclusions
anyway... */
#endif
/* __LINUX_MTD_COMPATMAC_H__ */
include/linux/mtd/map.h
View file @
6ae0185f
...
...
@@ -27,7 +27,6 @@
#include <linux/string.h>
#include <linux/bug.h>
#include <linux/mtd/compatmac.h>
#include <asm/unaligned.h>
#include <asm/system.h>
...
...
include/linux/mtd/mtd.h
View file @
6ae0185f
...
...
@@ -26,7 +26,6 @@
#include <linux/notifier.h>
#include <linux/device.h>
#include <linux/mtd/compatmac.h>
#include <mtd/mtd-abi.h>
#include <asm/div64.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment