Applied "ASoC: rt5645: Make a few struct const" to the asoc tree
Subsystems (3)
Mark Brown
maintainerThe patch
ASoC: rt5645: Make a few struct const
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
72d7a16bb07582f8416bbcdc65fe2a1e63f11294Mon Sep 17 00:00:00 2001
From: Jean Delvare <[email protected]>
Date: Fri, 15 Sep 2017 10:27:10 +0200
Subject: [PATCH] ASoC: rt5645: Make a few struct const
These dmi_system_id structures and associated platform data are never modified so they can be marked const.
--
sound/soc/codecs/rt5645.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
--- sound/soc/codecs/rt5645.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
sound/soc/codecs/rt5645.c +4 -4
@@ -3637,14 +3637,14 @@ static const struct dmi_system_id dmi_platform_gpd_win[] = { {} }; -static struct rt5645_platform_data general_platform_data2 = { +static const struct rt5645_platform_data general_platform_data2 = { .dmic1_data_pin =RT5645_DMIC_DATA_IN2N , .dmic2_data_pin =RT5645_DMIC2_DISABLE , .jd_mode =3 , .inv_jd1_1 = true, }; -static struct dmi_system_id dmi_platform_asus_t100ha[] = { +static const struct dmi_system_id dmi_platform_asus_t100ha[] = { { .ident ="ASUS T100HAN" , .matches = {
@@ -3655,11 +3655,11 @@ static struct dmi_system_id dmi_platform_asus_t100ha[] = { { } }; -static struct rt5645_platform_data minix_z83_4_platform_data = { +static const struct rt5645_platform_data minix_z83_4_platform_data = { .jd_mode =3 , }; -static struct dmi_system_id dmi_platform_minix_z83_4[] = { +static const struct dmi_system_id dmi_platform_minix_z83_4[] = { { .ident ="MINIX Z83-4" , .matches = {
Signature · 1 line
2.14.1