From: Jingoo Han Date: Wed, 7 May 2014 08:42:22 +0000 (+0900) Subject: watchdog: xilinx: Make of_device_id array const X-Git-Tag: next-20140530~46^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4b42ba53d93846ed22ca6cb67fb40727127ed9f4;p=karo-tx-linux.git 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 Reviewed-by: Michal Simek Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- 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) } /* 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", }, {},