summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-12 13:42:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-12 13:42:42 +0100
commitdbacfe7445643eee6359aa8b23aaa9c2032c59d2 (patch)
treeab1998e1f01d32ae1e374777993bfd31fec63ae8
parent6d7b7068c8fcf8fcf4721bf8ea2ec3cedfed94fc (diff)
fix compile error, with CONFIG_EARLY_PRINTK not set
-rw-r--r--target/linux/patches/3.13.6/microblaze-early-printk.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/3.13.6/microblaze-early-printk.patch b/target/linux/patches/3.13.6/microblaze-early-printk.patch
new file mode 100644
index 000000000..92027cea1
--- /dev/null
+++ b/target/linux/patches/3.13.6/microblaze-early-printk.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-3.13.6.orig/arch/microblaze/include/asm/setup.h linux-3.13.6/arch/microblaze/include/asm/setup.h
+--- linux-3.13.6.orig/arch/microblaze/include/asm/setup.h 2014-03-07 07:07:02.000000000 +0100
++++ linux-3.13.6/arch/microblaze/include/asm/setup.h 2014-03-12 13:28:53.315145258 +0100
+@@ -19,8 +19,6 @@
+
+ extern char *klimit;
+
+-void early_printk(const char *fmt, ...);
+-
+ int setup_early_printk(char *opt);
+ void remap_early_printk(void);
+ void disable_early_printk(void);