net: dsa: constify the struct device_type usage
[linux-2.6-microblaze.git] / net / dsa / user.c
index 5d666df..4d53c76 100644 (file)
@@ -2429,7 +2429,7 @@ static const struct net_device_ops dsa_user_netdev_ops = {
        .ndo_fill_forward_path  = dsa_user_fill_forward_path,
 };
 
-static struct device_type dsa_type = {
+static const struct device_type dsa_type = {
        .name   = "dsa",
 };