Skip to content

Commit

Permalink
watchdog: xilinx: 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>
Reviewed-by: Michal Simek <monstr@monstr.eu>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Jingoo Han authored and Wim Van Sebroeck committed Jun 10, 2014
1 parent faad5de commit 9ebf185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/of_xilinx_wdt.c
Original file line number Diff line number Diff line change
@@ -225,7 +225,7 @@ static int xwdt_remove(struct platform_device *pdev)
}

/* Match table for of_platform binding */
static struct of_device_id xwdt_of_match[] = {
static const struct of_device_id xwdt_of_match[] = {
{ .compatible = "xlnx,xps-timebase-wdt-1.00.a", },
{ .compatible = "xlnx,xps-timebase-wdt-1.01.a", },
{},

0 comments on commit 9ebf185

Please sign in to comment.