phy: Constify struct phy_ops variables

The phy_ops variables are never modified after initialized in these
drivers, so make them const.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Tento commit je obsažen v:
Axel Lin
2015-07-15 15:33:51 +08:00
odevzdal Kishon Vijay Abraham I
rodič 42ad8f6721
revize 4a9e5ca1a5
31 změnil soubory, kde provedl 31 přidání a 31 odebrání

Zobrazit soubor

@@ -51,7 +51,7 @@ static int armada375_usb_phy_init(struct phy *phy)
return 0;
}
static struct phy_ops armada375_usb_phy_ops = {
static const struct phy_ops armada375_usb_phy_ops = {
.init = armada375_usb_phy_init,
.owner = THIS_MODULE,
};