Hi Anti,

On 9/6/07, Anti Sullin <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to