diff options
Diffstat (limited to 'cmd/button.c')
-rw-r--r-- | cmd/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/button.c b/cmd/button.c index 64c5a8fa046..1b45d0a2a03 100644 --- a/cmd/button.c +++ b/cmd/button.c @@ -37,7 +37,7 @@ static int list_buttons(void) for (uclass_find_first_device(UCLASS_BUTTON, &dev); dev; uclass_find_next_device(&dev)) { - struct button_uc_plat *plat = dev_get_uclass_platdata(dev); + struct button_uc_plat *plat = dev_get_uclass_plat(dev); if (!plat->label) continue; |