diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-25 09:25:32 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-09-25 13:30:52 +0200 |
commit | 94d4c3cffefc702da2f906bfc68b774659f1c8fc (patch) | |
tree | 22bfa98eaaf07e4c865a6fa0dfd5dee118e99743 /drivers/memstick | |
parent | 0cb231f1e034bfbb3ccbaf759721d136a6847dde (diff) |
mmc: sdhci-s3c: hide forward declaration of of_device_id behind CONFIG_OF
The struct of_device_id is not defined with !CONFIG_OF so its forward
declaration should be hidden to as well. This should address clang
compile warning:
drivers/mmc/host/sdhci-s3c.c:464:34: warning: tentative array definition assumed to have one element
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200925072532.10272-1-krzk@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions