]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: owl-mmc: Get rid of of_match_ptr() macro
authorManivannan Sadhasivam <mani@kernel.org>
Sun, 21 Jun 2020 02:53:30 +0000 (08:23 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 Jul 2020 13:56:41 +0000 (15:56 +0200)
commita2e96275a2bc2ccc8fa57cac5a1cb6a9fc1e4f9f
treee4c66f82ef3e1c1a3f5c0c8ff30710e22bc8514b
parent36c20909dd84c3483652dafbb418ce6acd2a4f4c
mmc: owl-mmc: Get rid of of_match_ptr() macro

Remove the 'of_match_ptr()' macro to fix the warning when CONFIG_OF is
not selected.

drivers/mmc/host/owl-mmc.c:677:34: warning: unused variable 'owl_mmc_of_match'
[-Wunused-const-variable]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://lore.kernel.org/r/20200621025330.10561-1-mani@kernel.org
Fixes: a622996c9686 ("mmc: Add Actions Semi Owl SoCs SD/MMC driver")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/owl-mmc.c