diff options
author | John Crispin <john@openwrt.org> | 2015-03-10 11:03:04 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-10 11:03:04 +0000 |
commit | a3af8bf2160865f9885b860794a6de3242d3819c (patch) | |
tree | c863dd99250cd578102b45c4f1706c5bef390fe0 | |
parent | 1e3915a6c4a0acc0331dda60d2e650ad10c4ad50 (diff) | |
download | mtk-20170518-a3af8bf2160865f9885b860794a6de3242d3819c.zip mtk-20170518-a3af8bf2160865f9885b860794a6de3242d3819c.tar.gz mtk-20170518-a3af8bf2160865f9885b860794a6de3242d3819c.tar.bz2 |
au1000: build fails if the input layer is not selected
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44640
-rw-r--r-- | target/linux/au1000/patches/006-codec.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/au1000/patches/006-codec.patch b/target/linux/au1000/patches/006-codec.patch new file mode 100644 index 0000000..54f4fa9 --- /dev/null +++ b/target/linux/au1000/patches/006-codec.patch @@ -0,0 +1,28 @@ +Index: linux-3.18.8/arch/mips/alchemy/devboards/db1300.c +=================================================================== +--- linux-3.18.8.orig/arch/mips/alchemy/devboards/db1300.c 2015-02-27 02:49:36.000000000 +0100 ++++ linux-3.18.8/arch/mips/alchemy/devboards/db1300.c 2015-03-10 11:36:47.906310432 +0100 +@@ -712,6 +712,7 @@ + + /**********************************************************************/ + ++#ifdef CONFIG_TOUCHSCREEN_WM97XX + static void db1300_wm97xx_irqen(struct wm97xx *wm, int enable) + { + if (enable) +@@ -744,6 +745,15 @@ + return wm97xx_register_mach_ops(wm, &db1300_wm97xx_ops); + } + ++#else ++ ++static int db1300_wm97xx_probe(struct platform_device *pdev) ++{ ++ return -1; ++} ++ ++#endif ++ + static struct platform_driver db1300_wm97xx_driver = { + .driver.name = "wm97xx-touch", + .driver.owner = THIS_MODULE, |