git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Add adm8211 802.11b wireless driver
[pandora-kernel.git]
/
drivers
/
net
/
sungem_phy.c
diff --git
a/drivers/net/sungem_phy.c
b/drivers/net/sungem_phy.c
index
56a110c
..
61843fd
100644
(file)
--- a/
drivers/net/sungem_phy.c
+++ b/
drivers/net/sungem_phy.c
@@
-451,7
+451,7
@@
static int bcm5421_init(struct mii_phy* phy)
if (phy->platform_data) {
struct device_node *np = of_get_parent(phy->platform_data);
int can_low_power = 1;
if (phy->platform_data) {
struct device_node *np = of_get_parent(phy->platform_data);
int can_low_power = 1;
- if (np == NULL || get_property(np, "no-autolowpower", NULL))
+ if (np == NULL ||
of_
get_property(np, "no-autolowpower", NULL))
can_low_power = 0;
if (can_low_power) {
/* Enable automatic low-power */
can_low_power = 0;
if (can_low_power) {
/* Enable automatic low-power */