On 27/10/2023 13:05, Amadeusz Sławiński wrote:
> To support AVS-rt5514 configuration add machine board connecting AVS
> platform component driver with rt5514 codec one.
>
> Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@xxxxxxxxxxxxxxx>
> ---
> sound/soc/intel/avs/boards/Kconfig | 10 ++
> sound/soc/intel/avs/boards/Makefile | 2 +
> sound/soc/intel/avs/boards/rt5514.c | 187 ++++++++++++++++++++++++++++
> 3 files changed, 199 insertions(+)
> create mode 100644 sound/soc/intel/avs/boards/rt5514.c
...
> +
> +static struct platform_driver avs_rt5514_driver = {
> + .probe = avs_rt5514_probe,
> + .driver = {
> + .name = "avs_rt5514",
> + .pm = &snd_soc_pm_ops,
> + },
> +};
> +
> +module_platform_driver(avs_rt5514_driver);
> +
> +MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:avs_rt5514");
You should not need MODULE_ALIAS() in normal cases. If you need it,
usually it means your device ID table is wrong.
Best regards,
Krzysztof
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]