Skip to content
Unverified Commit 803a1f72 authored by Syed Saba kareem's avatar Syed Saba kareem Committed by Mark Brown
Browse files

ASoC: SOF: amd: Fixed Build error



Add linux/module.h in acp-pci.c to solve the below dependency

All error/warnings (new ones prefixed by >>):

>> sound/soc/amd/acp/acp-pci.c:148:1: warning: data definition has no type or storage class
148 | MODULE_DEVICE_TABLE(pci, acp_pci_ids);
| ^~~~~~~~~~~~~~~~~~~
>> sound/soc/amd/acp/acp-pci.c:148:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
...

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSyed Saba <Kareem&lt;ssabakar@amd.com>
Link: https://lore.kernel.org/r/20220523112956.3087604-1-ssabakar@amd.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e4dd748d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment