[PATCH] net: constify mdiobb_ops structures

David Miller davem at davemloft.net
Tue Jan 17 05:47:01 AEDT 2017


From: Bhumika Goyal <bhumirks at gmail.com>
Date: Fri, 13 Jan 2017 23:32:26 +0530

> Declare mdiobb_ops structures as const as they are only stored in the
> ops field of mdiobb_ctrl structures. This field is of type const, so
> mdiobb_ops structures having this property can be declared const too.

This patch doesn't apply cleanly to net-next, please respin.


More information about the Linuxppc-dev mailing list