From: Jingoo Han Date: Tue, 3 Jun 2014 12:03:59 +0000 (+0900) Subject: spi: fsl-spi: Make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3aea901d6bb43c2809077cf2b2e75d9e836941a1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-fsl-spi.c b/drivers/spi/spi-fsl-spi.c index 98ccd231bf00..9452f6740997 100644 --- a/drivers/spi/spi-fsl-spi.c +++ b/drivers/spi/spi-fsl-spi.c @@ -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,