git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: unittest: unflatten device tree on UML when testing
[sfrench/cifs-2.6.git]
/
drivers
/
of
/
unittest.c
diff --git
a/drivers/of/unittest.c
b/drivers/of/unittest.c
index 872956500c276382444f713b64b0c21596132cfe..66037511f2d707ae0d0f2392cfcf5e607500c4df 100644
(file)
--- a/
drivers/of/unittest.c
+++ b/
drivers/of/unittest.c
@@
-2521,6
+2521,10
@@
static int __init of_unittest(void)
int res;
/* adding data for unittest */
+
+ if (IS_ENABLED(CONFIG_UML))
+ unittest_unflatten_overlay_base();
+
res = unittest_data_add();
if (res)
return res;