Messages in this thread | | | Date | Wed, 15 Jul 2015 15:10:20 +0800 | Subject | Re: [PATCH] phy: ulpi_phy: Add const qualifier to ops | From | Axel Lin <> |
| |
2015-06-05 8:27 GMT+08:00 Axel Lin <axel.lin@ingics.com>: > The ops is never changed in ulpi_phy_create(), so make it const.
Hi Kishon,
Would you pick up this patch? Without this patch, passing a const struct phy_ops* to ulip_phy_create will have compiler warning. It should be fine to pass a const struct phy_ops* to ulip_phy_create and since the drivers usually never change phy_ops after initialized, it can be const.
| |