mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 15:56:47 +07:00
media: pci/pt1: suppress compiler warning in xtensa arch
Found and reported by kbuild test robot: Message ID: <201805052003.MC007f9h%fengguang.wu@intel.com> and holding an address of an empty struct in .driver.pm does no harm when CONFIG_PM_SLEEP is not defined. Signed-off-by: Akihiro Tsukada <tskd08@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
f917fc0e9b
commit
44e2971f9e
@ -1443,9 +1443,7 @@ static struct pci_driver pt1_driver = {
|
||||
.probe = pt1_probe,
|
||||
.remove = pt1_remove,
|
||||
.id_table = pt1_id_table,
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
.driver.pm = &pt1_pm_ops,
|
||||
#endif
|
||||
};
|
||||
|
||||
module_pci_driver(pt1_driver);
|
||||
|
Loading…
Reference in New Issue
Block a user