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
@ -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…
x
Reference in New Issue
Block a user