forked from luck/tmp_suning_uos_patched
spi: fsl-spi: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
f7f994a4c5
commit
3aea901d6b
|
@ -58,7 +58,7 @@ static struct fsl_spi_match_data of_fsl_spi_grlib_config = {
|
|||
.type = TYPE_GRLIB,
|
||||
};
|
||||
|
||||
static struct of_device_id of_fsl_spi_match[] = {
|
||||
static const struct of_device_id of_fsl_spi_match[] = {
|
||||
{
|
||||
.compatible = "fsl,spi",
|
||||
.data = &of_fsl_spi_fsl_config,
|
||||
|
|
Loading…
Reference in New Issue
Block a user