Update gpiommc to use configfs
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.24 / 065-rootfs_split.patch
index 8680f19589443c2cce340f661a3af946a9399fe7..a32cb66c5e7f9f4c845a0696217b2dd009248dc1 100644 (file)
@@ -1,7 +1,5 @@
-Index: linux-2.6.23-rc6/drivers/mtd/Kconfig
-===================================================================
---- linux-2.6.23-rc6.orig/drivers/mtd/Kconfig  2007-09-21 16:23:54.000000000 +0800
-+++ linux-2.6.23-rc6/drivers/mtd/Kconfig       2007-09-21 16:23:59.000000000 +0800
+--- a/drivers/mtd/Kconfig
++++ b/drivers/mtd/Kconfig
 @@ -47,6 +47,16 @@
          devices. Partitioning on NFTL 'devices' is a different - that's the
          'normal' form of partitioning used on a block device.
@@ -19,10 +17,8 @@ Index: linux-2.6.23-rc6/drivers/mtd/Kconfig
  config MTD_REDBOOT_PARTS
        tristate "RedBoot partition table parsing"
        depends on MTD_PARTITIONS
-Index: linux-2.6.23-rc6/drivers/mtd/mtdpart.c
-===================================================================
---- linux-2.6.23-rc6.orig/drivers/mtd/mtdpart.c        2007-09-21 16:23:54.000000000 +0800
-+++ linux-2.6.23-rc6/drivers/mtd/mtdpart.c     2007-09-21 16:23:59.000000000 +0800
+--- a/drivers/mtd/mtdpart.c
++++ b/drivers/mtd/mtdpart.c
 @@ -20,6 +20,8 @@
  #include <linux/mtd/mtd.h>
  #include <linux/mtd/partitions.h>
@@ -577,10 +573,8 @@ Index: linux-2.6.23-rc6/drivers/mtd/mtdpart.c
 +EXPORT_SYMBOL_GPL(refresh_mtd_partitions);
  EXPORT_SYMBOL_GPL(register_mtd_parser);
  EXPORT_SYMBOL_GPL(deregister_mtd_parser);
-Index: linux-2.6.23-rc6/drivers/mtd/devices/block2mtd.c
-===================================================================
---- linux-2.6.23-rc6.orig/drivers/mtd/devices/block2mtd.c      2007-09-21 16:23:59.000000000 +0800
-+++ linux-2.6.23-rc6/drivers/mtd/devices/block2mtd.c   2007-09-21 16:23:59.000000000 +0800
+--- a/drivers/mtd/devices/block2mtd.c
++++ b/drivers/mtd/devices/block2mtd.c
 @@ -34,6 +34,8 @@
        struct block_device *blkdev;
        struct mtd_info mtd;
@@ -868,10 +862,8 @@ Index: linux-2.6.23-rc6/drivers/mtd/devices/block2mtd.c
        
        part = kzalloc(sizeof(struct mtd_partition), GFP_KERNEL);
        part->name = dev->mtd.name;
-Index: linux-2.6.23-rc6/drivers/mtd/mtdchar.c
-===================================================================
---- linux-2.6.23-rc6.orig/drivers/mtd/mtdchar.c        2007-09-21 16:23:54.000000000 +0800
-+++ linux-2.6.23-rc6/drivers/mtd/mtdchar.c     2007-09-21 16:23:59.000000000 +0800
+--- a/drivers/mtd/mtdchar.c
++++ b/drivers/mtd/mtdchar.c
 @@ -17,6 +17,7 @@
  
  #include <linux/mtd/mtd.h>
@@ -880,7 +872,7 @@ Index: linux-2.6.23-rc6/drivers/mtd/mtdchar.c
  
  #include <asm/uaccess.h>
  
-@@ -753,6 +754,13 @@
+@@ -754,6 +755,13 @@
                file->f_pos = 0;
                break;
        }
@@ -894,10 +886,8 @@ Index: linux-2.6.23-rc6/drivers/mtd/mtdchar.c
  
        default:
                ret = -ENOTTY;
-Index: linux-2.6.23-rc6/include/linux/mtd/mtd.h
-===================================================================
---- linux-2.6.23-rc6.orig/include/linux/mtd/mtd.h      2007-09-21 16:23:54.000000000 +0800
-+++ linux-2.6.23-rc6/include/linux/mtd/mtd.h   2007-09-21 16:23:59.000000000 +0800
+--- a/include/linux/mtd/mtd.h
++++ b/include/linux/mtd/mtd.h
 @@ -98,6 +98,7 @@
        uint8_t         *oobbuf;
  };
@@ -906,7 +896,7 @@ Index: linux-2.6.23-rc6/include/linux/mtd/mtd.h
  struct mtd_info {
        u_char type;
        u_int32_t flags;
-@@ -195,6 +196,9 @@
+@@ -202,6 +203,9 @@
        struct module *owner;
        int usecount;
  
@@ -916,10 +906,8 @@ Index: linux-2.6.23-rc6/include/linux/mtd/mtd.h
        /* If the driver is something smart, like UBI, it may need to maintain
         * its own reference counting. The below functions are only for driver.
         * The driver may register its callbacks. These callbacks are not
-Index: linux-2.6.23-rc6/include/linux/mtd/partitions.h
-===================================================================
---- linux-2.6.23-rc6.orig/include/linux/mtd/partitions.h       2007-09-21 16:23:54.000000000 +0800
-+++ linux-2.6.23-rc6/include/linux/mtd/partitions.h    2007-09-21 16:23:59.000000000 +0800
+--- a/include/linux/mtd/partitions.h
++++ b/include/linux/mtd/partitions.h
 @@ -36,6 +36,7 @@
   * erasesize aligned (e.g. use MTDPART_OFS_NEXTBLK).
   */
@@ -944,10 +932,8 @@ Index: linux-2.6.23-rc6/include/linux/mtd/partitions.h
  
  /*
   * Functions dealing with the various ways of partitioning the space
-Index: linux-2.6.23-rc6/include/mtd/mtd-abi.h
-===================================================================
---- linux-2.6.23-rc6.orig/include/mtd/mtd-abi.h        2007-09-21 16:23:54.000000000 +0800
-+++ linux-2.6.23-rc6/include/mtd/mtd-abi.h     2007-09-21 16:23:59.000000000 +0800
+--- a/include/mtd/mtd-abi.h
++++ b/include/mtd/mtd-abi.h
 @@ -95,6 +95,7 @@
  #define ECCGETLAYOUT          _IOR('M', 17, struct nand_ecclayout)
  #define ECCGETSTATS           _IOR('M', 18, struct mtd_ecc_stats)