aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/keyboard-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard-uclass.c')
-rw-r--r--drivers/input/keyboard-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard-uclass.c b/drivers/input/keyboard-uclass.c
index f19934e6bb6..2c6680337d9 100644
--- a/drivers/input/keyboard-uclass.c
+++ b/drivers/input/keyboard-uclass.c
@@ -87,5 +87,5 @@ UCLASS_DRIVER(keyboard) = {
.id = UCLASS_KEYBOARD,
.name = "keyboard",
.pre_probe = keyboard_pre_probe,
- .per_device_auto_alloc_size = sizeof(struct keyboard_priv),
+ .per_device_auto = sizeof(struct keyboard_priv),
};