Skip to content

Commit

Permalink
spi: sh-hspi: Make of_device_id array const
Browse files Browse the repository at this point in the history
Make of_device_id array const, because all OF functions handle
it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Jingoo Han authored and Mark Brown committed Jun 6, 2014
1 parent 3aea901 commit 8e3489f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-sh-hspi.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static int hspi_remove(struct platform_device *pdev)
return 0;
}

static struct of_device_id hspi_of_match[] = {
static const struct of_device_id hspi_of_match[] = {
{ .compatible = "renesas,hspi", },
{ /* sentinel */ }
};
Expand Down

0 comments on commit 8e3489f

Please sign in to comment.