Re: [PATCH] net: ieee802154: constify ieee802154_ops structures

From: David Miller
Date: Mon Nov 21 2016 - 16:13:11 EST

From: Bhumika Goyal <bhumirks@xxxxxxxxx>
Date: Tue, 22 Nov 2016 02:00:14 +0530

> Declare the structure ieee802154_ops as const as it is only passed as an
> argument to the function ieee802154_alloc_hw. This argument is of type
> const struct ieee802154_ops *, so ieee80254_ops structures having this
> property can be declared as const.
> Done using Coccinelle:
> Signed-off-by: Bhumika Goyal <bhumirks@xxxxxxxxx>