dm: core: Run tests with both livetree and flat tree
[platform/kernel/u-boot.git] / include / test / test.h
index e3e821c..646dbfd 100644 (file)
  * @fail_count: Number of tests that failed
  * @start: Store the starting mallinfo when doing leak test
  * @priv: A pointer to some other info some suites want to track
+ * @of_root: Record of the livetree root node (used for setting up tests)
  */
 struct unit_test_state {
        int fail_count;
        struct mallinfo start;
        void *priv;
+       struct device_node *of_root;
 };
 
 /**