aboutsummaryrefslogtreecommitdiff
path: root/test/dm/test-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dm/test-main.c')
-rw-r--r--test/dm/test-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/test-main.c b/test/dm/test-main.c
index 828ed46f8..fbdae688e 100644
--- a/test/dm/test-main.c
+++ b/test/dm/test-main.c
@@ -32,7 +32,7 @@ static int dm_test_init(struct dm_test_state *dms)
/* Ensure all the test devices are probed */
static int do_autoprobe(struct dm_test_state *dms)
{
- struct device *dev;
+ struct udevice *dev;
int ret;
/* Scanning the uclass is enough to probe all the devices */