summaryrefslogtreecommitdiff
path: root/drivers/sound/hda_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sound/hda_codec.c')
-rw-r--r--drivers/sound/hda_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sound/hda_codec.c b/drivers/sound/hda_codec.c
index 4154d29399..eb92830ad9 100644
--- a/drivers/sound/hda_codec.c
+++ b/drivers/sound/hda_codec.c
@@ -539,7 +539,7 @@ U_BOOT_DRIVER(hda_codec) = {
.name = "hda_codec",
.id = UCLASS_SOUND,
.ops = &hda_codec_ops,
- .priv_auto_alloc_size = sizeof(struct hda_codec_priv),
+ .priv_auto = sizeof(struct hda_codec_priv),
.probe = hda_codec_init,
};