]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
net: ethernet: emacps: Do no use emac power management
authorMichal Simek <michal.simek@xilinx.com>
Thu, 29 Nov 2012 16:12:38 +0000 (17:12 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 30 Nov 2012 21:02:21 +0000 (22:02 +0100)
This is workaround for problem with busybox udhcp client
which is not able to obtain IP address when PM is on.
But on the other hand we need PM in menuconfig for
others driver that's why I am blocking PM code in the driver.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/ethernet/xilinx/xilinx_emacps.c

index 9bbf7855943a913476ea690511cad55db7a1c94a..e04cded7c55f0a71fd0351fac1b18e4df8c499c3 100644 (file)
@@ -3127,7 +3127,7 @@ static int __exit xemacps_remove(struct platform_device *pdev)
        return 0;
 }
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_NOT_DEFINE
 #ifdef CONFIG_PM_SLEEP
 /**
  * xemacps_suspend - Suspend event