Message ID | 01db01cf69c8$584cd640$08e682c0$%han@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 790d190257b339bba9ff821d7d49f4567146f4ad |
Headers | show |
On Wed, May 07, 2014 at 04:45:41PM +0900, Jingoo Han wrote: > Make of_device_id array const, because all OF functions > handle it as const. Applied, thanks.
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index d565eee..5021ddf 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c @@ -406,7 +406,7 @@ static irqreturn_t dspi_interrupt(int irq, void *dev_id) return IRQ_HANDLED; } -static struct of_device_id fsl_dspi_dt_ids[] = { +static const struct of_device_id fsl_dspi_dt_ids[] = { { .compatible = "fsl,vf610-dspi", .data = NULL, }, { /* sentinel */ } };
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/spi/spi-fsl-dspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)