mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
ASoC: samsung: Constify platform_device_id
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b787f68c36
commit
eb8ca0fa5d
1 changed files with 1 additions and 1 deletions
|
@ -1493,7 +1493,7 @@ static const struct samsung_i2s_dai_data samsung_dai_type_sec = {
|
||||||
.dai_type = TYPE_SEC,
|
.dai_type = TYPE_SEC,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device_id samsung_i2s_driver_ids[] = {
|
static const struct platform_device_id samsung_i2s_driver_ids[] = {
|
||||||
{
|
{
|
||||||
.name = "samsung-i2s",
|
.name = "samsung-i2s",
|
||||||
.driver_data = (kernel_ulong_t)&i2sv3_dai_type,
|
.driver_data = (kernel_ulong_t)&i2sv3_dai_type,
|
||||||
|
|
Loading…
Reference in a new issue