[PATCH] pda_power: add device_init_wakeup
From: Dmitry Baryshkov
Date: Wed Jan 09 2008 - 11:40:14 EST
Add device_init_wakeup to init wakeup.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@xxxxxxxxx>
diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c
index d98622f..28360e8 100644
--- a/drivers/power/pda_power.c
+++ b/drivers/power/pda_power.c
@@ -207,6 +207,8 @@ static int pda_power_probe(struct platform_device *pdev)
}
}
+ device_init_wakeup(&pdev->dev, 1);
+
return 0;
usb_irq_failed:
--
With best wishes
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/