net: xilinx: constify of_device_id array
[linux-2.6-block.git] / drivers / net / ethernet / xilinx / xilinx_axienet_main.c
index a6d2860b712c732c5459bea14647da9825ff1042..28b7e7d9c272ae672034d10bb64f855f0d1077e9 100644 (file)
@@ -48,7 +48,7 @@
 #define AXIENET_REGS_N         32
 
 /* Match table for of_platform binding */
-static struct of_device_id axienet_of_match[] = {
+static const struct of_device_id axienet_of_match[] = {
        { .compatible = "xlnx,axi-ethernet-1.00.a", },
        { .compatible = "xlnx,axi-ethernet-1.01.a", },
        { .compatible = "xlnx,axi-ethernet-2.01.a", },