OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/arch/mips/alchemy/devboards/db1300.c |
2 | +++ b/arch/mips/alchemy/devboards/db1300.c |
||
3 | @@ -712,6 +712,7 @@ static struct platform_device db1300_lcd |
||
4 | |||
5 | /**********************************************************************/ |
||
6 | |||
7 | +#ifdef CONFIG_TOUCHSCREEN_WM97XX |
||
8 | static void db1300_wm97xx_irqen(struct wm97xx *wm, int enable) |
||
9 | { |
||
10 | if (enable) |
||
11 | @@ -744,6 +745,15 @@ static int db1300_wm97xx_probe(struct pl |
||
12 | return wm97xx_register_mach_ops(wm, &db1300_wm97xx_ops); |
||
13 | } |
||
14 | |||
15 | +#else |
||
16 | + |
||
17 | +static int db1300_wm97xx_probe(struct platform_device *pdev) |
||
18 | +{ |
||
19 | + return -1; |
||
20 | +} |
||
21 | + |
||
22 | +#endif |
||
23 | + |
||
24 | static struct platform_driver db1300_wm97xx_driver = { |
||
25 | .driver.name = "wm97xx-touch", |
||
26 | .driver.owner = THIS_MODULE, |