aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/tools/dtoc/test/dtoc_test_scan_drivers.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/tools/dtoc/test/dtoc_test_scan_drivers.cxx')
-rw-r--r--roms/u-boot/tools/dtoc/test/dtoc_test_scan_drivers.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/roms/u-boot/tools/dtoc/test/dtoc_test_scan_drivers.cxx b/roms/u-boot/tools/dtoc/test/dtoc_test_scan_drivers.cxx
new file mode 100644
index 000000000..f370b8951
--- /dev/null
+++ b/roms/u-boot/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)