can: constify of_device_id array
[deliverable/linux.git] / drivers / net / can / xilinx_can.c
index 6c67643122859f1a37c0eb953d2d5a506f7e3c47..6bddfe062b516467b6cc2be75a53c17c2040b2d7 100644 (file)
@@ -1185,7 +1185,7 @@ static int xcan_remove(struct platform_device *pdev)
 }
 
 /* Match table for OF platform binding */
-static struct of_device_id xcan_of_match[] = {
+static const struct of_device_id xcan_of_match[] = {
        { .compatible = "xlnx,zynq-can-1.0", },
        { .compatible = "xlnx,axi-can-1.00.a", },
        { /* end of list */ },
This page took 0.02488 seconds and 5 git commands to generate.