]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcec5634327eb0e04a10dfcf255e094bb22816375
tree09aeefe110488dad4aa61b6541c29bc052b95c60
parenteef7620b1e4e181f78460996853244ad91aea4ba
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