summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/board/hostfile.c1
-rw-r--r--arch/sandbox/board/led.c1
-rw-r--r--arch/sandbox/board/power.c1
-rw-r--r--arch/sandbox/board/watchdog.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/board/hostfile.c b/arch/sandbox/board/hostfile.c
index d0f400787d..f1ba13edb7 100644
--- a/arch/sandbox/board/hostfile.c
+++ b/arch/sandbox/board/hostfile.c
@@ -198,6 +198,7 @@ static __maybe_unused struct of_device_id hostfile_dt_ids[] = {
/* sentinel */
}
};
+MODULE_DEVICE_TABLE(of, hostfile_dt_ids);
static struct driver hf_drv = {
.name = "hostfile",
diff --git a/arch/sandbox/board/led.c b/arch/sandbox/board/led.c
index a080ae634f..ced7e82f99 100644
--- a/arch/sandbox/board/led.c
+++ b/arch/sandbox/board/led.c
@@ -57,6 +57,7 @@ static struct of_device_id sandbox_led_of_ids[] = {
{ .compatible = "barebox,sandbox-led", },
{ }
};
+MODULE_DEVICE_TABLE(of, sandbox_led_of_ids);
static struct driver sandbox_led_of_driver = {
.name = "sandbox-led",
diff --git a/arch/sandbox/board/power.c b/arch/sandbox/board/power.c
index 4adc8d7455..8300c589c7 100644
--- a/arch/sandbox/board/power.c
+++ b/arch/sandbox/board/power.c
@@ -89,6 +89,7 @@ static __maybe_unused struct of_device_id sandbox_power_dt_ids[] = {
{ .compatible = "barebox,sandbox-power" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, sandbox_power_dt_ids);
static struct driver sandbox_power_drv = {
.name = "sandbox-power",
diff --git a/arch/sandbox/board/watchdog.c b/arch/sandbox/board/watchdog.c
index 5bffad8119..074c96a8a9 100644
--- a/arch/sandbox/board/watchdog.c
+++ b/arch/sandbox/board/watchdog.c
@@ -67,6 +67,7 @@ static __maybe_unused struct of_device_id sandbox_watchdog_dt_ids[] = {
{ .compatible = "barebox,sandbox-watchdog" },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, sandbox_watchdog_dt_ids);
static struct driver sandbox_watchdog_drv = {
.name = "sandbox-watchdog",