]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: remove of_match_ptr() from vop_driver_dt_match
authorSouptick Joarder <jrdr.linux@gmail.com>
Mon, 7 Jun 2021 19:08:00 +0000 (00:38 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 21 Sep 2021 09:53:03 +0000 (11:53 +0200)
commit3d6985fdb990b77d72998456f66c29bdac5a0de9
tree09ae859f41de89758d6c1f42c062525fbc14cbd7
parentb75678cf80e7d14e271c7fd1ebfa9f99bfc41da9
drm/rockchip: remove of_match_ptr() from vop_driver_dt_match

kernel test robot throws warning when CONFIG_OF not set.

>> drivers/gpu/drm/rockchip/rockchip_vop_reg.c:1038:34:
warning: unused variable 'vop_driver_dt_match' [-Wunused-const-variable]
   static const struct of_device_id vop_driver_dt_match[] = {

Fixed it by removing of_match_ptr().

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210607190800.3992-1-jrdr.linux@gmail.com
drivers/gpu/drm/rockchip/rockchip_vop_reg.c