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.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/dtoc/test/dtoc_test_scan_drivers.cxx b/tools/dtoc/test/dtoc_test_scan_drivers.cxx
index f448767670..f370b8951d 100644
--- a/tools/dtoc/test/dtoc_test_scan_drivers.cxx
+++ b/tools/dtoc/test/dtoc_test_scan_drivers.cxx
@@ -1 +1,5 @@
+/* Aliases must be in driver files */
+U_BOOT_DRIVER(sandbox_gpio) {
+};
+
DM_DRIVER_ALIAS(sandbox_gpio, sandbox_gpio_alias2)