> --- a/drivers/net/dsa/mt7530.c
> +++ b/drivers/net/dsa/mt7530.c
> @@ -2688,7 +2688,7 @@ static const struct mt753x_info mt753x_table[] = {
>  };
>  
>  static const struct of_device_id mt7530_of_match[] = {
> -     { .compatible = "mediatek,mt7621", .data = &mt753x_table[ID_MT7621], },
> +     { .compatible = "mediatek,mt7621-gsw", .data = 
> &mt753x_table[ID_MT7621], },
>       { .compatible = "mediatek,mt7530", .data = &mt753x_table[ID_MT7530], },
>       { .compatible = "mediatek,mt7531", .data = &mt753x_table[ID_MT7531], },
>       { /* sentinel */ },

This will break backwards compatibility with existing DT blobs. You
need to keep the old "mediatek,mt7621", but please add a comment that
it is deprecated.

   Andrew

Reply via email to