mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 11:21:26 -04:00
PM: domains: De-constify fields in struct dev_pm_domain_attach_data
It doesn't really make sense to keep u32 fields to be marked as const.
Having the const fields prevents their modification in the driver. Instead
the whole struct can be defined as const, if it is constant.
Fixes: 161e16a5e5 ("PM: domains: Add helper functions to attach/detach multiple PM domains")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
committed by
Ulf Hansson
parent
6de23f81a5
commit
1877d3f258
@@ -49,8 +49,8 @@
|
||||
|
||||
struct dev_pm_domain_attach_data {
|
||||
const char * const *pd_names;
|
||||
const u32 num_pd_names;
|
||||
const u32 pd_flags;
|
||||
u32 num_pd_names;
|
||||
u32 pd_flags;
|
||||
};
|
||||
|
||||
struct dev_pm_domain_list {
|
||||
|
||||
Reference in New Issue
Block a user