diff options
author | Akihiro Tsukada <tskd08@gmail.com> | 2018-06-10 10:58:02 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-07-30 08:51:28 -0400 |
commit | 44e2971f9e50aadb8d62eafbe31df014ef55d618 (patch) | |
tree | 60ccf2caebc981b47ff0a1fb898b36bf16dd8340 /drivers/media/pci/pt1 | |
parent | f917fc0e9b9988982a841b871655cc41bde1e10e (diff) |
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>
Diffstat (limited to 'drivers/media/pci/pt1')
-rw-r--r-- | drivers/media/pci/pt1/pt1.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/pci/pt1/pt1.c b/drivers/media/pci/pt1/pt1.c index fda969a85684..7f878fc41b7e 100644 --- a/drivers/media/pci/pt1/pt1.c +++ b/drivers/media/pci/pt1/pt1.c @@ -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); |