]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
PM / domains: Make generic_pm_domain.name const
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 29 Aug 2014 13:13:21 +0000 (15:13 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 2 Sep 2014 23:25:32 +0000 (01:25 +0200)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/pm_domain.h

index 7c1d252b20c08de0ec725976c67b6fc13326e2e0..ebc4c76ffb737bae3d9be1a6325752745254eaed 100644 (file)
@@ -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;
        unsigned int in_progress;       /* Number of devices being suspended now */
        atomic_t sd_count;      /* Number of subdomains with power "on" */
        enum gpd_status status; /* Current state of the domain */