mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-01 08:04:22 +08:00
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>
This commit is contained in:
parent
948f317fac
commit
b118458936
@ -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,
|
static void acp63_fill_platform_dev_info(struct platform_device_info *pdevinfo,
|
||||||
struct fwnode_handle *fw_node, char *name, unsigned int id,
|
struct device *parent,
|
||||||
const struct resource *res, unsigned int num_res,
|
struct fwnode_handle *fw_node,
|
||||||
const void *data, size_t size_data)
|
char *name, unsigned int id,
|
||||||
|
const struct resource *res,
|
||||||
|
unsigned int num_res,
|
||||||
|
const void *data,
|
||||||
|
size_t size_data)
|
||||||
{
|
{
|
||||||
pdevinfo->name = name;
|
pdevinfo->name = name;
|
||||||
pdevinfo->id = id;
|
pdevinfo->id = id;
|
||||||
|
Loading…
Reference in New Issue
Block a user