X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/90fba37c49479ed4e5233dc0d348cdf7d24c9ee1..cfcce2a247e7f449bf1f5fc28e8ec9f764eaf406:/target/linux/generic-2.4/patches/009-mtd_uaccess.patch diff --git a/target/linux/generic-2.4/patches/009-mtd_uaccess.patch b/target/linux/generic-2.4/patches/009-mtd_uaccess.patch index 0d02d8557..0c42f00b5 100644 --- a/target/linux/generic-2.4/patches/009-mtd_uaccess.patch +++ b/target/linux/generic-2.4/patches/009-mtd_uaccess.patch @@ -1,8 +1,6 @@ -Index: linux-2.4.35.4/drivers/mtd/mtdchar.c -=================================================================== ---- linux-2.4.35.4.orig/drivers/mtd/mtdchar.c 2007-12-15 05:19:42.370835614 +0100 -+++ linux-2.4.35.4/drivers/mtd/mtdchar.c 2007-12-15 05:19:50.539301109 +0100 -@@ -558,13 +558,13 @@ +--- a/drivers/mtd/mtdchar.c ++++ b/drivers/mtd/mtdchar.c +@@ -558,13 +558,13 @@ static void mtd_notify_add(struct mtd_in sprintf(name, "%d", mtd->index); devfs_rw_handle[mtd->index] = devfs_register(devfs_dir_handle, name, DEVFS_FL_DEFAULT, MTD_CHAR_MAJOR, mtd->index*2, @@ -18,11 +16,9 @@ Index: linux-2.4.35.4/drivers/mtd/mtdchar.c &mtd_fops, NULL); } -Index: linux-2.4.35.4/drivers/mtd/mtdblock.c -=================================================================== ---- linux-2.4.35.4.orig/drivers/mtd/mtdblock.c 2007-12-15 05:19:42.378836072 +0100 -+++ linux-2.4.35.4/drivers/mtd/mtdblock.c 2007-12-15 05:19:50.539301109 +0100 -@@ -601,7 +601,7 @@ +--- a/drivers/mtd/mtdblock.c ++++ b/drivers/mtd/mtdblock.c +@@ -601,7 +601,7 @@ static void mtd_notify_add(struct mtd_in sprintf(name, "%d", mtd->index); devfs_rw_handle[mtd->index] = devfs_register(devfs_dir_handle, name, DEVFS_FL_DEFAULT, MTD_BLOCK_MAJOR, mtd->index,