]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-add-const-to-mii_phy_ops-structures'
authorDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 19:32:48 +0000 (15:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 19:32:48 +0000 (15:32 -0400)
commitf5907472f14cb2d88fb253303be597b19f8fce9d
tree9c361ff7e7a8d7ecc95e8849b1efaf1a2cf91a9c
parent1657698e0b1cda510d0ff4dbd12e0c2d79e0252e
parent9bca9421134689e9e7b9284d4f1671a0872c9165
Merge branch 'net-add-const-to-mii_phy_ops-structures'

Bhumika Goyal says:

====================
drivers: net: add const to mii_phy_ops structures

The object references of mii_phy_ops structures are only stored
in the ops field of a mii_phy_def structure. This ops field is of type
const. So, mii_phy_ops structures having similar properties can be
declared as const.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>