diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2023-01-04 15:57:08 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-05 12:15:35 +0100 |
commit | b118458936785bd104e95f09abd52525c0a84616 (patch) | |
tree | b3f523de6b50f7b2d7d96c88409efb6920a086af /sound/soc/amd/ps | |
parent | ASoC: amd: ps: remove unused variable (diff) | |
download | linux-b118458936785bd104e95f09abd52525c0a84616.tar.xz linux-b118458936785bd104e95f09abd52525c0a84616.zip |
ASoC: amd: ps: use static function
Sparse warning:
error: symbol 'acp63_fill_platform_dev_info' was not declared. Should
it be static?
Also reduce line lines below 100 characters.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230104145708.25051-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/ps')
-rw-r--r-- | sound/soc/amd/ps/pci-ps.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c index 6335595ec5b9..8293c97ecdd6 100644 --- a/sound/soc/amd/ps/pci-ps.c +++ b/sound/soc/amd/ps/pci-ps.c @@ -167,10 +167,14 @@ static void get_acp63_device_config(u32 config, struct pci_dev *pci, } } -void acp63_fill_platform_dev_info(struct platform_device_info *pdevinfo, struct device *parent, - struct fwnode_handle *fw_node, char *name, unsigned int id, - const struct resource *res, unsigned int num_res, - const void *data, size_t size_data) +static void acp63_fill_platform_dev_info(struct platform_device_info *pdevinfo, + struct device *parent, + struct fwnode_handle *fw_node, + char *name, unsigned int id, + const struct resource *res, + unsigned int num_res, + const void *data, + size_t size_data) { pdevinfo->name = name; pdevinfo->id = id; |