projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8083526
)
phy: ulpi_phy: Add const qualifier to ops
author
Axel Lin
<axel.lin@ingics.com>
Fri, 5 Jun 2015 00:27:03 +0000
(08:27 +0800)
committer
Kishon Vijay Abraham I
<kishon@ti.com>
Mon, 3 Aug 2015 13:05:09 +0000
(18:35 +0530)
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>
drivers/phy/ulpi_phy.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/phy/ulpi_phy.h
b/drivers/phy/ulpi_phy.h
index ac49fb6285eeecfd4a6db6df0dd28965b55483a6..f2ebe490a4bc590aa381247c9bfbd1a12fecc11b 100644
(file)
--- a/
drivers/phy/ulpi_phy.h
+++ b/
drivers/phy/ulpi_phy.h
@@
-5,7
+5,7
@@
* and it's controller, which is always the parent.
*/
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;
int ret;