drivers/net/sungem: add const to mii_phy_ops structures
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 8 Jun 2017 06:00:57 +0000 (11:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 19:32:47 +0000 (15:32 -0400)
commit7cb6e01de3c4721de0f5411a6eae95a4f74cc5d7
tree91764ef341262983e9e642aa1ac023be5fee3dbd
parent3948b57bd592c05bd6c08b3fea0862473cf9d5d9
drivers/net/sungem: 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: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sungem_phy.c