diff options
Diffstat (limited to 'drivers/button/button-uclass.c')
-rw-r--r-- | drivers/button/button-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/button/button-uclass.c b/drivers/button/button-uclass.c index 1c742c265c..133f4dead1 100644 --- a/drivers/button/button-uclass.c +++ b/drivers/button/button-uclass.c @@ -39,5 +39,5 @@ enum button_state_t button_get_state(struct udevice *dev) UCLASS_DRIVER(button) = { .id = UCLASS_BUTTON, .name = "button", - .per_device_platdata_auto_alloc_size = sizeof(struct button_uc_plat), + .per_device_platdata_auto = sizeof(struct button_uc_plat), }; |