Messages in this thread | | | Date | Fri, 7 Sep 2007 11:11:45 -0400 | From | "Dmitry Torokhov" <> | Subject | Re: [PATCH] Add suspend and resume to gpio_keys driver |
| |
Hi Anti,
On 9/6/07, Anti Sullin <anti.sullin@artecdesign.ee> wrote: > diff -pur linux-2.6.23-rc5-old/drivers/input/keyboard/gpio_keys.c linux-2.6.23-rc5/drivers/input/keyboard/gpio_keys.c > --- linux-2.6.23-rc5-old/drivers/input/keyboard/gpio_keys.c 2007-09-06 18:24:23.000000000 +0300 > +++ linux-2.6.23-rc5/drivers/input/keyboard/gpio_keys.c 2007-09-06 18:23:37.000000000 +0300 > @@ -59,6 +59,7 @@ static int __devinit gpio_keys_probe(str > if (!input) > return -ENOMEM; > > + device_init_wakeup(&pdev->dev, 1); > platform_set_drvdata(pdev, input);
I would expect platform code to mark devices as wakeup-able, wouldn't you agree?
-- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |