media: pt1: use #ifdef CONFIG_PM_SLEEP instead of #if
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sat, 5 May 2018 13:23:21 +0000 (09:23 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sat, 5 May 2018 13:23:21 +0000 (09:23 -0400)
commit078ce0be8945b9e2530f2e0ce84c8dcbb154edb6
tree09aeefe110488dad4aa61b6541c29bc052b95c60
parent1719834691901386cfcd264e0144309ddbada3d8
media: pt1: use #ifdef CONFIG_PM_SLEEP instead of #if

As pointed by ktest:

>> drivers/media//pci/pt1/pt1.c:1433:5: warning: "CONFIG_PM_SLEEP" is not defined, evaluates to 0 [-Wundef]
    #if CONFIG_PM_SLEEP
        ^~~~~~~~~~~~~~~

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/pt1/pt1.c