Re: [PATCH] PM / Domains: Make generic_pm_domain.name const

From: Geert Uytterhoeven
Date: Tue Sep 02 2014 - 02:56:15 EST


Hi Rafael,

On Tue, Sep 2, 2014 at 1:50 AM, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:
>> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
>
> I'm going to apply this one. Does anything depend on it?

Thanks. So far nothing depends on it.

>> ---
>> include/linux/pm_domain.h | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
>> index 7c1d252b20c0..ebc4c76ffb73 100644
>> --- a/include/linux/pm_domain.h
>> +++ b/include/linux/pm_domain.h
>> @@ -60,7 +60,7 @@ struct generic_pm_domain {
>> struct mutex lock;
>> struct dev_power_governor *gov;
>> struct work_struct power_off_work;
>> - char *name;
>> + const char *name;

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/