media: platform: mdp: mark OF related data as maybe unused
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 12 Mar 2023 13:13:09 +0000 (14:13 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 14 Jul 2023 10:33:12 +0000 (12:33 +0200)
commit8127bc16c40a02e1128be00c0f3c4ecbc0868b4b
treefeaa0e71ab6b50ea9a4ac17651e67181f9840ba2
parent5c01df01b43f4c49ff31a84913aac9473703de80
media: platform: mdp: mark OF related data as maybe unused

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  drivers/media/platform/mediatek/mdp/mtk_mdp_core.c:31:34: error: ‘mtk_mdp_comp_dt_ids’ defined but not used [-Werror=unused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/mediatek/mdp/mtk_mdp_core.c