aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches-2.6.28
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-14 06:30:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-14 06:30:22 +0000
commit8ce60f579f341b3cd0b6c64158a52023c25b6603 (patch)
tree38b0a2c3bb35881161b8aa9acca8a3d6fc2f9b75 /target/linux/generic-2.6/patches-2.6.28
parent2aeb6aba7f11875d31a49def6cf8c0ba95a96c27 (diff)
downloadupstream-8ce60f579f341b3cd0b6c64158a52023c25b6603.tar.gz
upstream-8ce60f579f341b3cd0b6c64158a52023c25b6603.tar.bz2
upstream-8ce60f579f341b3cd0b6c64158a52023c25b6603.zip
fix myloader partition parser on 2.6.28
SVN-Revision: 13625
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.28')
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch b/target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch
new file mode 100644
index 0000000000..2461fa36e3
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch
@@ -0,0 +1,11 @@
+--- a/drivers/mtd/myloader.c
++++ b/drivers/mtd/myloader.c
+@@ -19,7 +19,7 @@
+ #include <linux/vmalloc.h>
+ #include <linux/mtd/mtd.h>
+ #include <linux/mtd/partitions.h>
+-#include <linux/byteorder/generic.h>
++#include <linux/byteorder.h>
+ #include <linux/myloader.h>
+
+ #define BLOCK_LEN_MIN 0x10000