diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-03-07 17:56:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-03-07 17:56:58 +0000 |
commit | 46c7d0d1ab610701b91ac9ba465e63f51e80ee06 (patch) | |
tree | ac61f4ccb56d99a7cf65fc19840cc4c906ce65f3 /target/linux/generic/patches-4.3/480-mtd-set-rootfs-to-be-root-dev.patch | |
parent | 3abf5ce6564e24a388b86caf1a00f91f4262b312 (diff) | |
download | upstream-46c7d0d1ab610701b91ac9ba465e63f51e80ee06.tar.gz upstream-46c7d0d1ab610701b91ac9ba465e63f51e80ee06.tar.bz2 upstream-46c7d0d1ab610701b91ac9ba465e63f51e80ee06.zip |
kernel: remove linux 4.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48955
Diffstat (limited to 'target/linux/generic/patches-4.3/480-mtd-set-rootfs-to-be-root-dev.patch')
-rw-r--r-- | target/linux/generic/patches-4.3/480-mtd-set-rootfs-to-be-root-dev.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/generic/patches-4.3/480-mtd-set-rootfs-to-be-root-dev.patch b/target/linux/generic/patches-4.3/480-mtd-set-rootfs-to-be-root-dev.patch deleted file mode 100644 index 3ba61e1249..0000000000 --- a/target/linux/generic/patches-4.3/480-mtd-set-rootfs-to-be-root-dev.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/drivers/mtd/mtdcore.c -+++ b/drivers/mtd/mtdcore.c -@@ -39,6 +39,7 @@ - #include <linux/slab.h> - #include <linux/reboot.h> - #include <linux/kconfig.h> -+#include <linux/root_dev.h> - - #include <linux/mtd/mtd.h> - #include <linux/mtd/partitions.h> -@@ -456,6 +457,15 @@ int add_mtd_device(struct mtd_info *mtd) - of this try_ nonsense, and no bitching about it - either. :) */ - __module_get(THIS_MODULE); -+ -+ if (!strcmp(mtd->name, "rootfs") && -+ config_enabled(CONFIG_MTD_ROOTFS_ROOT_DEV) && -+ ROOT_DEV == 0) { -+ pr_notice("mtd: device %d (%s) set to be root filesystem\n", -+ mtd->index, mtd->name); -+ ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, mtd->index); -+ } -+ - return 0; - - fail_added: |