diff options
| author | Xi Pardee <xi.pardee@linux.intel.com> | 2025-04-09 12:10:46 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-04-11 15:26:06 +0300 |
| commit | 052fabddeaa70bdb256cbdae152291bd8a1bee0c (patch) | |
| tree | a6050758f656785fb13d0771aedb02b0b9bff788 /drivers/platform/x86/intel/pmc/core.h | |
| parent | platform/x86:intel/pmc: Move PMC devid to core.h (diff) | |
| download | linux-052fabddeaa70bdb256cbdae152291bd8a1bee0c.tar.gz linux-052fabddeaa70bdb256cbdae152291bd8a1bee0c.zip | |
platform/x86:intel/pmc: Convert index variables to be unsigned
Convert the index variables type to be unsigned to avoid confusion
and error.
Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250409191056.15434-5-xi.pardee@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmc/core.h')
| -rw-r--r-- | drivers/platform/x86/intel/pmc/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/intel/pmc/core.h b/drivers/platform/x86/intel/pmc/core.h index ce1b949b1004..c3b07075d017 100644 --- a/drivers/platform/x86/intel/pmc/core.h +++ b/drivers/platform/x86/intel/pmc/core.h @@ -515,7 +515,7 @@ int pmc_core_ssram_init(struct pmc_dev *pmcdev, int func); int generic_core_init(struct pmc_dev *pmcdev, struct pmc_dev_info *pmc_dev_info); const struct pmc_reg_map *pmc_core_find_regmap(struct pmc_info *list, u16 devid); int pmc_core_pmc_add(struct pmc_dev *pmcdev, u64 pwrm_base, - const struct pmc_reg_map *reg_map, int pmc_index); + const struct pmc_reg_map *reg_map, unsigned int pmc_index); extern struct pmc_dev_info spt_pmc_dev; extern struct pmc_dev_info cnp_pmc_dev; |
