]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Merge branch 'devicetree/next-overlay' into devicetree/next
authorGrant Likely <grant.likely@linaro.org>
Mon, 11 Aug 2014 13:06:23 +0000 (14:06 +0100)
committerGrant Likely <grant.likely@linaro.org>
Mon, 11 Aug 2014 13:06:23 +0000 (14:06 +0100)
Conflicts:
drivers/of/testcase-data/testcases.dts

1  2 
drivers/of/Makefile
drivers/of/base.c
drivers/of/selftest.c
drivers/of/testcase-data/testcases.dts
include/linux/of.h

Simple merge
index e4f95ba0a3ebaadac36d0aec40c3223cc6d3a2a0,a7ad1013edfa3d890d3f34542254544d88d5e870..d8574adf0d62d446c02011970096e74c921ec6f1
@@@ -36,15 -35,17 +36,17 @@@ struct device_node *of_allnodes
  EXPORT_SYMBOL(of_allnodes);
  struct device_node *of_chosen;
  struct device_node *of_aliases;
 -static struct device_node *of_stdout;
 +struct device_node *of_stdout;
  
- static struct kset *of_kset;
+ struct kset *of_kset;
  
  /*
-  * Used to protect the of_aliases; but also overloaded to hold off addition of
-  * nodes to sysfs
+  * Used to protect the of_aliases, to hold off addition of nodes to sysfs.
+  * This mutex must be held whenever modifications are being made to the
+  * device tree. The of_{attach,detach}_node() and
+  * of_{add,remove,update}_property() helpers make sure this happens.
   */
- DEFINE_MUTEX(of_aliases_mutex);
+ DEFINE_MUTEX(of_mutex);
  
  /* use when traversing tree through the allnext, child, sibling,
   * or parent members of struct device_node.
Simple merge
index 8e7568ee31750402d708a1be3179388d65201520,0000000000000000000000000000000000000000..219ef9324e9c6b8e270f064b97a1d34f11e6c884
mode 100644,000000..100644
--- /dev/null
@@@ -1,5 -1,0 +1,15 @@@
 +/dts-v1/;
++/ {
++      testcase-data {
++              changeset {
++                      prop-update = "hello";
++                      prop-remove = "world";
++                      node-remove {
++                      };
++              };
++      };
++};
 +#include "tests-phandle.dtsi"
 +#include "tests-interrupts.dtsi"
 +#include "tests-match.dtsi"
 +#include "tests-platform.dtsi"
Simple merge