Re: [PATCH 0/2] drivers: net: add const to mii_phy_ops structures

2017-06-08 Thread David Miller
From: Bhumika Goyal Date: Thu, 8 Jun 2017 11:30:56 +0530 > 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

Re: [PATCH 0/2] drivers: net: add const to mii_phy_ops structures

2017-06-08 Thread David Miller
From: Bhumika Goyal Date: Thu, 8 Jun 2017 11:30:56 +0530 > 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. Series

[PATCH 0/2] drivers: net: add const to mii_phy_ops structures

2017-06-08 Thread Bhumika Goyal
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. Bhumika Goyal (2): drivers/net/sungem: add const to mii_phy_ops structures

[PATCH 0/2] drivers: net: add const to mii_phy_ops structures

2017-06-08 Thread Bhumika Goyal
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. Bhumika Goyal (2): drivers/net/sungem: add const to mii_phy_ops structures