diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2018-12-06 12:45:08 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-12-07 07:53:40 +0100 |
commit | 0d638fa266c7f62102ac2eeea4ad561e4bdfc724 (patch) | |
tree | b91589bd480c911211cd4ab54a98a53413344053 /include | |
parent | ea9fc47279f2778c794273e6b557408a8eb64405 (diff) | |
download | barebox-0d638fa266c7f62102ac2eeea4ad561e4bdfc724.tar.gz barebox-0d638fa266c7f62102ac2eeea4ad561e4bdfc724.tar.xz |
of: remove non-existent of_match_ptr
It's only used in the !OFTREE stub functions, so can be safely removed.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/of_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/of_device.h b/include/of_device.h index e84fc9c377..44c1c0f545 100644 --- a/include/of_device.h +++ b/include/of_device.h @@ -41,7 +41,7 @@ static inline const struct of_device_id *__of_match_device( return NULL; } #define of_match_device(matches, dev) \ - __of_match_device(of_match_ptr(matches), (dev)) + __of_match_device(matches, (dev)) #endif /* CONFIG_OF */ |