|
@@ -916,7 +916,7 @@ static const struct net_device_ops fs_enet_netdev_ops = {
|
|
#endif
|
|
#endif
|
|
};
|
|
};
|
|
|
|
|
|
-static struct of_device_id fs_enet_match[];
|
|
|
|
|
|
+static const struct of_device_id fs_enet_match[];
|
|
static int fs_enet_probe(struct platform_device *ofdev)
|
|
static int fs_enet_probe(struct platform_device *ofdev)
|
|
{
|
|
{
|
|
const struct of_device_id *match;
|
|
const struct of_device_id *match;
|
|
@@ -1082,7 +1082,7 @@ static int fs_enet_remove(struct platform_device *ofdev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static struct of_device_id fs_enet_match[] = {
|
|
|
|
|
|
+static const struct of_device_id fs_enet_match[] = {
|
|
#ifdef CONFIG_FS_ENET_HAS_SCC
|
|
#ifdef CONFIG_FS_ENET_HAS_SCC
|
|
{
|
|
{
|
|
.compatible = "fsl,cpm1-scc-enet",
|
|
.compatible = "fsl,cpm1-scc-enet",
|