of: Provide dummy of_device_compatible_match() for compile-testing
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 25 Apr 2017 17:38:48 +0000 (19:38 +0200)
committerRob Herring <robh@kernel.org>
Wed, 14 Jun 2017 18:41:46 +0000 (13:41 -0500)
commit3bc1630774bc9f202308ae04608a32c366b41caf
treee4d238d6c5df63673af7da5385a71850b631b76b
parent08cd94ec522b68647110374a9bd13f94e693aa11
of: Provide dummy of_device_compatible_match() for compile-testing

Most of_device_*() functions have dummy versions for CONFIG_OF=n,
but of_device_compatible_match() hasn't.  Fix that to improve the
ability to do compile-testing.

Fixes: b9c13fe32faaa71c ("dt: Add of_device_compatible_match()")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of.h