You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
681 B
27 lines
681 B
10 years ago
|
--- a/arch/mips/alchemy/devboards/db1300.c
|
||
|
+++ b/arch/mips/alchemy/devboards/db1300.c
|
||
|
@@ -712,6 +712,7 @@ static struct platform_device db1300_lcd
|
||
8 years ago
|
|
||
10 years ago
|
/**********************************************************************/
|
||
8 years ago
|
|
||
10 years ago
|
+#ifdef CONFIG_TOUCHSCREEN_WM97XX
|
||
|
static void db1300_wm97xx_irqen(struct wm97xx *wm, int enable)
|
||
|
{
|
||
8 years ago
|
if (enable)
|
||
10 years ago
|
@@ -744,6 +745,15 @@ static int db1300_wm97xx_probe(struct pl
|
||
8 years ago
|
return wm97xx_register_mach_ops(wm, &db1300_wm97xx_ops);
|
||
10 years ago
|
}
|
||
8 years ago
|
|
||
10 years ago
|
+#else
|
||
|
+
|
||
|
+static int db1300_wm97xx_probe(struct platform_device *pdev)
|
||
|
+{
|
||
|
+ return -1;
|
||
|
+}
|
||
|
+
|
||
|
+#endif
|
||
|
+
|
||
|
static struct platform_driver db1300_wm97xx_driver = {
|
||
8 years ago
|
.driver.name = "wm97xx-touch",
|
||
|
.driver.owner = THIS_MODULE,
|