diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 04:42:22 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-06-10 15:43:21 -0400 |
commit | 9ebf1855dbe0a170e45a2000d6f8e16d88b5fd7c (patch) | |
tree | 4eb463de59058a3285f5fe3478536ec1ae721eae | |
parent | faad5de0b10484d3dc2ed2a803b2b82f6b1b81ee (diff) |
watchdog: xilinx: Make of_device_id array const
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>
-rw-r--r-- | drivers/watchdog/of_xilinx_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c index 57ccae8327ff..1e6e28df5d7b 100644 --- a/drivers/watchdog/of_xilinx_wdt.c +++ b/drivers/watchdog/of_xilinx_wdt.c | |||
@@ -225,7 +225,7 @@ static int xwdt_remove(struct platform_device *pdev) | |||
225 | } | 225 | } |
226 | 226 | ||
227 | /* Match table for of_platform binding */ | 227 | /* Match table for of_platform binding */ |
228 | static struct of_device_id xwdt_of_match[] = { | 228 | static const struct of_device_id xwdt_of_match[] = { |
229 | { .compatible = "xlnx,xps-timebase-wdt-1.00.a", }, | 229 | { .compatible = "xlnx,xps-timebase-wdt-1.00.a", }, |
230 | { .compatible = "xlnx,xps-timebase-wdt-1.01.a", }, | 230 | { .compatible = "xlnx,xps-timebase-wdt-1.01.a", }, |
231 | {}, | 231 | {}, |