Re: [RFC 1/3] Runtime PM support for named power states

Pavel Machek
2005-10-02T20:37:46Z

[-- Attachment #1: Type: text/plain, Size: 653 bytes --]

Hi!

> Index: usb-2.6/drivers/base/power/sysfs.c
> ===================================================================
> --- usb-2.6.orig/drivers/base/power/sysfs.c
> +++ usb-2.6/drivers/base/power/sysfs.c
> @@ -3,12 +3,21 @@
> */
>
> #include <linux/device.h>
> +#include <linux/string.h>
> #include "power.h"
>
> +const char pm_name_ON[] = "on";
> +const char pm_name_SUSPEND[] = "suspend";
> +EXPORT_SYMBOL_GPL(pm_name_ON);
> +EXPORT_SYMBOL_GPL(pm_name_SUSPEND);
> +

Oops, I believe we still want non-GPL drivers to work correctly with
our kernel...

Pavel
--
if you have sharp zaurus hardware you don't need... you know my address