Re: [PATCH] net: dsa: make dsa_switch_ops const

From: Vivien Didelot
Date: Wed Aug 09 2017 - 10:35:12 EST


Bhumika Goyal <bhumirks@xxxxxxxxx> writes:

> Make these structures const as they are only stored in the ops field of
> a dsa_switch structure, which is const.
> Done using Coccinelle.
>
> Signed-off-by: Bhumika Goyal <bhumirks@xxxxxxxxx>

Reviewed-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>