summaryrefslogtreecommitdiff
path: root/test/dm/regmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dm/regmap.c')
-rw-r--r--test/dm/regmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/regmap.c b/test/dm/regmap.c
index 2effef3c1c..22a293096c 100644
--- a/test/dm/regmap.c
+++ b/test/dm/regmap.c
@@ -280,7 +280,7 @@ U_BOOT_DRIVER(regmap_test) = {
.of_match = regmaptest_ids,
.id = UCLASS_NOP,
.probe = remaptest_probe,
- .priv_auto_alloc_size = sizeof(struct regmaptest_priv),
+ .priv_auto = sizeof(struct regmaptest_priv),
};
static int dm_test_devm_regmap(struct unit_test_state *uts)