]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/watchdog/of_xilinx_wdt.c
watchdog: xilinx: Make of_device_id array const
[karo-tx-linux.git] / drivers / watchdog / of_xilinx_wdt.c
index 57ccae8327ff96b0072b2013f8ebb9fb2499006d..1e6e28df5d7b8030973c7a0c50d83466fb5b3b2e 100644 (file)
@@ -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", },
        {},