Commit 42ad8f67 authored by Axel Lin's avatar Axel Lin Committed by Kishon Vijay Abraham I

phy: ulpi_phy: Add const qualifier to ops

The ops is never changed in ulpi_phy_create(), so make it const.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 8083526e
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* and it's controller, which is always the parent. * and it's controller, which is always the parent.
*/ */
static inline struct phy static inline struct phy
*ulpi_phy_create(struct ulpi *ulpi, struct phy_ops *ops) *ulpi_phy_create(struct ulpi *ulpi, const struct phy_ops *ops)
{ {
struct phy *phy; struct phy *phy;
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment