spi: fsl-spi: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Tue, 3 Jun 2014 12:03:59 +0000 (21:03 +0900)
committerMark Brown <broonie@linaro.org>
Fri, 6 Jun 2014 11:37:41 +0000 (12:37 +0100)
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>
drivers/spi/spi-fsl-spi.c

index 98ccd231bf009bdb1ac48a10ed8324b6620a3c63..9452f6740997b1970e8645e4cd141010b5389b38 100644 (file)
@@ -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,