summaryrefslogtreecommitdiff
path: root/include/of.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2022-01-18 08:32:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-01-18 08:34:02 +0100
commit43efe4f93f3cf6acc9cfcd40adee82d4ed005f85 (patch)
tree7bca9c8da7d037c36f8db77d18ae577344745ccc /include/of.h
parent2f9aeab92f51d7b224468f6cd62d7cbbb05ceb1e (diff)
downloadbarebox-43efe4f93f3cf6acc9cfcd40adee82d4ed005f85.tar.gz
Revert "clk: handle CLK_OF_DECLARE in deep probe"
This issue is now solved differently in: | commit 2f9aeab92f51d7b224468f6cd62d7cbbb05ceb1e (master) | Author: Lucas Stach <dev@lynxeye.de> | Date: Sun Jan 16 22:32:19 2022 +0100 | | clk: ignore of_device_ensure_probed error in clock lookup This reverts commit bd516e38dd1490cb83b58f8f7914912f3a702978. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r--include/of.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/of.h b/include/of.h
index e5df4cab4a..216d0ee763 100644
--- a/include/of.h
+++ b/include/of.h
@@ -281,7 +281,6 @@ extern struct device_d *of_device_enable_and_register_by_name(const char *name);
extern struct device_d *of_device_enable_and_register_by_alias(
const char *alias);
-extern struct device_d *of_device_create_on_demand(struct device_node *np);
extern int of_device_ensure_probed(struct device_node *np);
extern int of_device_ensure_probed_by_alias(const char *alias);
extern int of_devices_ensure_probed_by_property(const char *property_name);
@@ -375,11 +374,6 @@ static inline void of_platform_device_dummy_drv(struct device_d *dev)
{
}
-static inline struct device_d *of_device_create_on_demand(struct device_node *np)
-{
- return NULL;
-}
-
static inline int of_device_ensure_probed(struct device_node *np)
{
return 0;