diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2016-08-14 23:45:40 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-08-15 15:32:37 +0200 |
commit | fa5eab6ec5c78160f939d23b24a6fd9a45861ca9 (patch) | |
tree | 926faaf618656cb23657e34cd439448c4a07bfb7 /target/linux/au1000/patches-3.18/006-codec.patch | |
parent | 12cdf2bfc211f139c04aa4242ce1f8ffea6344d2 (diff) | |
download | upstream-fa5eab6ec5c78160f939d23b24a6fd9a45861ca9.tar.gz upstream-fa5eab6ec5c78160f939d23b24a6fd9a45861ca9.tar.bz2 upstream-fa5eab6ec5c78160f939d23b24a6fd9a45861ca9.zip |
au1000: rename patches directory to patches-3.18
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/au1000/patches-3.18/006-codec.patch')
-rw-r--r-- | target/linux/au1000/patches-3.18/006-codec.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/au1000/patches-3.18/006-codec.patch b/target/linux/au1000/patches-3.18/006-codec.patch new file mode 100644 index 0000000000..45537c63a8 --- /dev/null +++ b/target/linux/au1000/patches-3.18/006-codec.patch @@ -0,0 +1,26 @@ +--- a/arch/mips/alchemy/devboards/db1300.c ++++ b/arch/mips/alchemy/devboards/db1300.c +@@ -712,6 +712,7 @@ static struct platform_device db1300_lcd + + /**********************************************************************/ + ++#ifdef CONFIG_TOUCHSCREEN_WM97XX + static void db1300_wm97xx_irqen(struct wm97xx *wm, int enable) + { + if (enable) +@@ -744,6 +745,15 @@ static int db1300_wm97xx_probe(struct pl + 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, |