Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c660c0a8 authored by Fabian Frederick's avatar Fabian Frederick Committed by Mark Brown
Browse files

ASoC: fsi: constify of_device_id array



of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c517d838
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1876,7 +1876,7 @@ static void fsi_handler_init(struct fsi_priv *fsi,
	}
}

static struct of_device_id fsi_of_match[];
static const struct of_device_id fsi_of_match[];
static int fsi_probe(struct platform_device *pdev)
{
	struct fsi_master *master;
@@ -2092,7 +2092,7 @@ static struct fsi_core fsi2_core = {
	.b_mclk	= B_MST_CTLR,
};

static struct of_device_id fsi_of_match[] = {
static const struct of_device_id fsi_of_match[] = {
	{ .compatible = "renesas,sh_fsi",	.data = &fsi1_core},
	{ .compatible = "renesas,sh_fsi2",	.data = &fsi2_core},
	{},