Re: [PATCH] media: pt1: use #ifdef CONFIG_PM_SLEEP instead of #if

2018-05-05 Thread Andy Shevchenko
On Sat, May 5, 2018 at 4:24 PM, Mauro Carvalho Chehab wrote: > 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 > ^~~ > Why not to go

[PATCH] media: pt1: use #ifdef CONFIG_PM_SLEEP instead of #if

2018-05-05 Thread Mauro Carvalho Chehab
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 Signed-off-by: Mauro Carvalho Chehab