linux/compat.h: rename from linux/mtd/compat.h

This lets us use it in more places than just mtd code.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
master
Mike Frysinger 13 years ago committed by Anatolij Gustschin
parent 4e2c05873a
commit 7b15e2bb9b
  1. 2
      board/samsung/smdkc100/onenand.c
  2. 2
      common/cmd_onenand.c
  3. 2
      common/env_onenand.c
  4. 2
      drivers/mtd/mtdconcat.c
  5. 2
      drivers/mtd/mtdcore.c
  6. 2
      drivers/mtd/mtdpart.c
  7. 2
      drivers/mtd/nand/mpc5121_nfc.c
  8. 2
      drivers/mtd/nand/nand_base.c
  9. 2
      drivers/mtd/nand/nand_bbt.c
  10. 2
      drivers/mtd/onenand/onenand_base.c
  11. 2
      drivers/mtd/onenand/onenand_bbt.c
  12. 2
      drivers/mtd/onenand/onenand_uboot.c
  13. 2
      drivers/mtd/onenand/samsung.c
  14. 2
      fs/jffs2/jffs2_1pass.c
  15. 0
      include/linux/compat.h
  16. 2
      include/linux/err.h
  17. 2
      include/linux/mtd/mtd-abi.h
  18. 2
      include/linux/mtd/nand.h
  19. 2
      include/linux/mtd/onenand.h
  20. 2
      include/nand.h

@ -22,7 +22,7 @@
*/
#include <common.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
#include <linux/mtd/samsung_onenand.h>

@ -13,7 +13,7 @@
#include <command.h>
#include <malloc.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>

@ -33,7 +33,7 @@
#include <errno.h>
#include <onenand_uboot.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>

@ -9,7 +9,7 @@
*/
#include <linux/mtd/mtd.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/concat.h>
#include <ubi_uboot.h>

@ -8,7 +8,7 @@
*/
#include <linux/mtd/mtd.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <ubi_uboot.h>
struct mtd_info *mtd_table[MAX_MTD_DEVICES];

@ -17,7 +17,7 @@
#include <linux/list.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
/* Our partition linked list */
struct list_head mtd_partitions;

@ -29,7 +29,7 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <asm/errno.h>
#include <asm/io.h>

@ -39,7 +39,7 @@
#include <malloc.h>
#include <watchdog.h>
#include <linux/err.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>

@ -61,7 +61,7 @@
#include <common.h>
#include <malloc.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ecc.h>

@ -20,7 +20,7 @@
*/
#include <common.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>

@ -15,7 +15,7 @@
*/
#include <common.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
#include <malloc.h>

@ -14,7 +14,7 @@
*/
#include <common.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>

@ -28,7 +28,7 @@
#include <common.h>
#include <malloc.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
#include <linux/mtd/samsung_onenand.h>

@ -119,7 +119,7 @@
#include <watchdog.h>
#include <jffs2/jffs2.h>
#include <jffs2/jffs2_1pass.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <asm/errno.h>
#include "jffs2_private.h"

@ -5,7 +5,7 @@
#if 0
#include <linux/compiler.h>
#else
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#endif
#include <asm/errno.h>

@ -8,7 +8,7 @@
#define __MTD_ABI_H__
#if 1
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#endif
struct erase_info_user {

@ -20,7 +20,7 @@
#include "config.h"
#include "linux/mtd/compat.h"
#include "linux/compat.h"
#include "linux/mtd/mtd.h"
#include "linux/mtd/bbm.h"

@ -17,7 +17,7 @@
/* Note: The header order is impoertant */
#include <onenand_uboot.h>
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/bbm.h>
#define MAX_DIES 2

@ -37,7 +37,7 @@
extern void nand_init(void);
#include <linux/mtd/compat.h>
#include <linux/compat.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>

Loading…
Cancel
Save