media: staging: atomisp: disable warnings with cc-disable-warning
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 12 Jul 2017 12:29:16 +0000 (09:29 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 17 Jul 2017 14:19:41 +0000 (11:19 -0300)
commita1a0a56ffc0f587161a4e2830c4afa690e497730
treeb61f309a21df619bba100ebec2a246df23d4bbe7
parent9a01968c75fa46ab99564678028eea48973dfa7f
media: staging: atomisp: disable warnings with cc-disable-warning

Instead of directly using -Wno-foo, use cc-disable-warning, as it
checks if the compiler has the warnings we want to disable.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/atomisp/pci/atomisp2/Makefile