]> 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)
commite4dc95046a59d2c564d3de9689e152630e86f719
tree9c361ff7e7a8d7ecc95e8849b1efaf1a2cf91a9c
parent2e59fdbf330dd9317532feb7b592b9b232c0bd3b
parent08cc377f15516876a7240e1631322f89c2357335
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>