aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-10 11:03:04 +0000
committerJohn Crispin <blogic@openwrt.org>2015-03-10 11:03:04 +0000
commit70499c3e462cfcbd8ec03d8ba98841d0a3676426 (patch)
tree5d2b61cdaefc38900567efb3a2285c8ba39118f0 /target/linux/au1000
parentb2d847f4c097c46b13f701dc85fe6344897c5b14 (diff)
downloadmaster-187ad058-70499c3e462cfcbd8ec03d8ba98841d0a3676426.tar.gz
master-187ad058-70499c3e462cfcbd8ec03d8ba98841d0a3676426.tar.bz2
master-187ad058-70499c3e462cfcbd8ec03d8ba98841d0a3676426.zip
au1000: build fails if the input layer is not selected
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44640 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000')
-rw-r--r--target/linux/au1000/patches/006-codec.patch28
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 0000000000..54f4fa9d30
--- /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,