aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-06-04 20:27:03 -0400
committerKishon Vijay Abraham I <kishon@ti.com>2015-08-03 09:05:09 -0400
commit42ad8f6721720513f3569a67b157fcff068aa92d (patch)
tree57bd64b3b9bfd832f8db4c2797d324eb6b52528a
parent8083526e0585e23447ac9ea94ca3f6d32d6dee8f (diff)
phy: ulpi_phy: Add const qualifier to ops
The ops is never changed in ulpi_phy_create(), so make it const. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r--drivers/phy/ulpi_phy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/ulpi_phy.h b/drivers/phy/ulpi_phy.h
index ac49fb6285ee..f2ebe490a4bc 100644
--- a/drivers/phy/ulpi_phy.h
+++ b/drivers/phy/ulpi_phy.h
@@ -5,7 +5,7 @@
5 * and it's controller, which is always the parent. 5 * and it's controller, which is always the parent.
6 */ 6 */
7static inline struct phy 7static inline struct phy
8*ulpi_phy_create(struct ulpi *ulpi, struct phy_ops *ops) 8*ulpi_phy_create(struct ulpi *ulpi, const struct phy_ops *ops)
9{ 9{
10 struct phy *phy; 10 struct phy *phy;
11 int ret; 11 int ret;