projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5842dd
)
net: ethernet: fec_main: Add reset PHY GPIOs when CONFIG_OF is not defined.
author
Josep Orga
<jorga@somdevices.com>
Sat, 18 Apr 2020 09:00:21 +0000
(11:00 +0200)
committer
Josep Orga
<jorga@somdevices.com>
Sat, 18 Apr 2020 09:00:21 +0000
(11:00 +0200)
Signed-off-by: Josep Orga <jorga@somdevices.com>
drivers/net/ethernet/freescale/fec_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/freescale/fec_main.c
b/drivers/net/ethernet/freescale/fec_main.c
index
0c95c68
..
89b83fb
100644
(file)
--- a/
drivers/net/ethernet/freescale/fec_main.c
+++ b/
drivers/net/ethernet/freescale/fec_main.c
@@
-3536,6
+3536,14
@@
static int fec_reset_phy(struct platform_device *pdev)
}
#else /* CONFIG_OF */
+static void fec_reset_phy_init_SOMDEVICES(void)
+{
+ /*
+ * In case of platform probe, the reset has been done
+ * by machine code.
+ */
+ return;
+}
static int fec_reset_phy_init(struct platform_device *pdev)
{
/*