diff options
Diffstat (limited to 'test/dm')
-rw-r--r-- | test/dm/Makefile | 2 | ||||
-rw-r--r-- | test/dm/led.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile index 474e77a2151..2db0e3b8dfd 100644 --- a/test/dm/Makefile +++ b/test/dm/Makefile @@ -126,7 +126,7 @@ obj-$(CONFIG_TEE) += tee.o obj-$(CONFIG_TIMER) += timer.o obj-$(CONFIG_TPM_V2) += tpm.o obj-$(CONFIG_DM_USB) += usb.o -obj-$(CONFIG_VIDEO) += video.o +obj-$(CONFIG_VIDEO_SANDBOX_SDL) += video.o ifeq ($(CONFIG_VIRTIO_SANDBOX),y) obj-y += virtio.o obj-$(CONFIG_VIRTIO_RNG) += virtio_device.o diff --git a/test/dm/led.c b/test/dm/led.c index 36652c2833a..f41a2fb73fc 100644 --- a/test/dm/led.c +++ b/test/dm/led.c @@ -162,7 +162,7 @@ DM_TEST(dm_test_led_blink, UTF_SCAN_PDATA | UTF_SCAN_FDT); #ifdef CONFIG_LED_BOOT static int dm_test_led_boot(struct unit_test_state *uts) { - struct udevice *dev + struct udevice *dev; /* options/u-boot/boot-led is set to phandle to "sandbox:green" */ ut_assertok(led_get_by_label("sandbox:green", &dev)); @@ -180,7 +180,7 @@ DM_TEST(dm_test_led_boot, UTF_SCAN_PDATA | UTF_SCAN_FDT); #ifndef CONFIG_LED_BLINK static int dm_test_led_boot_blink(struct unit_test_state *uts) { - struct udevice *dev + struct udevice *dev; /* options/u-boot/boot-led is set to phandle to "sandbox:green" */ ut_assertok(led_get_by_label("sandbox:green", &dev)); @@ -200,7 +200,7 @@ DM_TEST(dm_test_led_boot_blink, UTF_SCAN_PDATA | UTF_SCAN_FDT); #ifdef CONFIG_LED_ACTIVITY static int dm_test_led_activity(struct unit_test_state *uts) { - struct udevice *dev + struct udevice *dev; /* options/u-boot/activity-led is set to phandle to "sandbox:red" */ ut_assertok(led_get_by_label("sandbox:red", &dev)); @@ -218,7 +218,7 @@ DM_TEST(dm_test_led_activity, UTF_SCAN_PDATA | UTF_SCAN_FDT); #ifndef CONFIG_LED_BLINK static int dm_test_led_activityt_blink(struct unit_test_state *uts) { - struct udevice *dev + struct udevice *dev; /* options/u-boot/activity-led is set to phandle to "sandbox:red" */ ut_assertok(led_get_by_label("sandbox:red", &dev)); |