summaryrefslogtreecommitdiff
path: root/include/test/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/test/test.h')
-rw-r--r--include/test/test.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/test/test.h b/include/test/test.h
index 03e29290bf..3fdaa2b5e5 100644
--- a/include/test/test.h
+++ b/include/test/test.h
@@ -95,6 +95,15 @@ enum {
};
/**
+ * testbus_get_clear_removed() - Test function to obtain removed device
+ *
+ * This is used in testbus to find out which device was removed. Calling this
+ * function returns a pointer to the device and then clears it back to NULL, so
+ * that a future test can check it.
+ */
+struct udevice *testbus_get_clear_removed(void);
+
+/**
* dm_test_main() - Run driver model tests
*
* Run all the available driver model tests, or a selection