spi: qup: Make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 07:50:04 +0000 (16:50 +0900)
committerMark Brown <broonie@linaro.org>
Wed, 7 May 2014 19:53:04 +0000 (20:53 +0100)
Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-qup.c

index b032e8885e2435b3585810f1266bca9aa3fce6a8..17c5f600100052e50d7f7bb48bf0a277c76a703c 100644 (file)
@@ -749,7 +749,7 @@ static int spi_qup_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct of_device_id spi_qup_dt_match[] = {
+static const struct of_device_id spi_qup_dt_match[] = {
        { .compatible = "qcom,spi-qup-v2.1.1", },
        { .compatible = "qcom,spi-qup-v2.2.1", },
        { }
This page took 0.02493 seconds and 5 git commands to generate.