projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: Disabling OF functions that use sysfs if CONFIG_SYSFS disabled
[deliverable/linux.git]
/
drivers
/
of
/
dynamic.c
diff --git
a/drivers/of/dynamic.c
b/drivers/of/dynamic.c
index 54fecc49a1fe4bb702576590714798799b777a65..f297891d852908ae3e78fe9bfa2bfe5b231875e6 100644
(file)
--- a/
drivers/of/dynamic.c
+++ b/
drivers/of/dynamic.c
@@
-45,6
+45,9
@@
void __of_detach_node_sysfs(struct device_node *np)
{
struct property *pp;
+ if (!IS_ENABLED(CONFIG_SYSFS))
+ return;
+
BUG_ON(!of_node_is_initialized(np));
if (!of_kset)
return;
This page took
0.024248 seconds
and
5
git commands to generate.