From: Jingoo Han Date: Wed, 7 May 2014 08:42:22 +0000 (+0900) Subject: watchdog: xilinx: Make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9ebf1855dbe0a170e45a2000d6f8e16d88b5fd7c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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", }, {},