From 4c5ec2137439bc098ef046a0e06fa5c4d3ded457 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 15 May 2023 10:32:00 -0500 Subject: drivers/sof: Use topology enums where appropriate Also correct switch intendation, remove excess empty lines. Change-Id: I86026e7f6c0c1c7f3dc6a473bb3afe2f6d32a247 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/75230 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/drivers/sof/chip.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/drivers/sof/chip.h') diff --git a/src/drivers/sof/chip.h b/src/drivers/sof/chip.h index 518e06c3bd..5f7e8b8120 100644 --- a/src/drivers/sof/chip.h +++ b/src/drivers/sof/chip.h @@ -33,12 +33,10 @@ enum _mic_tplg { _4ch, }; - - struct drivers_sof_config { - unsigned int spkr_tplg; - unsigned int jack_tplg; - unsigned int mic_tplg; + enum _spkr_tplg spkr_tplg; + enum _jack_tplg jack_tplg; + enum _mic_tplg mic_tplg; }; #endif /* __DRIVERS_AUDIO_SOF_H__ */ -- cgit v1.2.3