aboutsummaryrefslogtreecommitdiff
path: root/tools/dtoc/test/dtoc_test_scan_drivers.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dtoc/test/dtoc_test_scan_drivers.cxx')
-rw-r--r--tools/dtoc/test/dtoc_test_scan_drivers.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/dtoc/test/dtoc_test_scan_drivers.cxx b/tools/dtoc/test/dtoc_test_scan_drivers.cxx
new file mode 100644
index 0000000..f370b89
--- /dev/null
+++ b/tools/dtoc/test/dtoc_test_scan_drivers.cxx
@@ -0,0 +1,5 @@
+/* Aliases must be in driver files */
+U_BOOT_DRIVER(sandbox_gpio) {
+};
+
+DM_DRIVER_ALIAS(sandbox_gpio, sandbox_gpio_alias2)