projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
phy: constify of_phandle_args in xlate
[linux-2.6-block.git]
/
drivers
/
phy
/
freescale
/
phy-fsl-lynx-28g.c
diff --git
a/drivers/phy/freescale/phy-fsl-lynx-28g.c
b/drivers/phy/freescale/phy-fsl-lynx-28g.c
index e2187767ce00ce5658109e820c173a8a2fc04d12..b86da8e9daa46549148c2501666e85ddccd1e2e7 100644
(file)
--- a/
drivers/phy/freescale/phy-fsl-lynx-28g.c
+++ b/
drivers/phy/freescale/phy-fsl-lynx-28g.c
@@
-556,7
+556,7
@@
static void lynx_28g_lane_read_configuration(struct lynx_28g_lane *lane)
}
static struct phy *lynx_28g_xlate(struct device *dev,
- struct of_phandle_args *args)
+
const
struct of_phandle_args *args)
{
struct lynx_28g_priv *priv = dev_get_drvdata(dev);
int idx = args->args[0];