diff options
Diffstat (limited to 'target/linux/au1000/patches-3.18/006-codec.patch')
-rw-r--r-- | target/linux/au1000/patches-3.18/006-codec.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/au1000/patches-3.18/006-codec.patch b/target/linux/au1000/patches-3.18/006-codec.patch index 45537c63a8..d80cf56ac9 100644 --- a/target/linux/au1000/patches-3.18/006-codec.patch +++ b/target/linux/au1000/patches-3.18/006-codec.patch @@ -1,17 +1,17 @@ --- 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) + if (enable) @@ -744,6 +745,15 @@ static int db1300_wm97xx_probe(struct pl - return wm97xx_register_mach_ops(wm, &db1300_wm97xx_ops); + return wm97xx_register_mach_ops(wm, &db1300_wm97xx_ops); } - + +#else + +static int db1300_wm97xx_probe(struct platform_device *pdev) @@ -22,5 +22,5 @@ +#endif + static struct platform_driver db1300_wm97xx_driver = { - .driver.name = "wm97xx-touch", - .driver.owner = THIS_MODULE, + .driver.name = "wm97xx-touch", + .driver.owner = THIS_MODULE, |