diff options
author | Alexandre Courbot <[email protected]> | 2020-11-02 16:40:07 +0900 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-12-10 13:23:14 -0600 |
commit | e59aef4edc45133ccb10b8e962cb74dcf1e3240b (patch) | |
tree | f8ede4cbca45c19df351869cb80f4ab8c4e6266e /net/switchdev/switchdev.c | |
parent | d2debca429ce1796178acb8316d0dcbc7dceed7c (diff) |
remoteproc/mtk_scp: surround DT device IDs with CONFIG_OF
Now that this driver can be compiled with COMPILE_TEST, we have no
guarantee that CONFIG_OF will also be defined. When that happens, a
warning about mtk_scp_of_match being defined but unused will be reported
so make sure this variable is only defined if of_match_ptr() actually
uses it.
Fixes: cbd2dca74926c0e4610c40923cc786b732c9e8ef remoteproc: scp: add COMPILE_TEST dependency
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Alexandre Courbot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions