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

Commit aeea6eb4 authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris
Browse files

mtd: st_spi_fsm: Make of_device_id array const



Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent f62cde49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2058,7 +2058,7 @@ static int stfsm_remove(struct platform_device *pdev)
	return mtd_device_unregister(&fsm->mtd);
}

static struct of_device_id stfsm_match[] = {
static const struct of_device_id stfsm_match[] = {
	{ .compatible = "st,spi-fsm", },
	{},
};