drivers/net: fix build warnings with CONFIG_PM_SLEEP disabled
authorMichel Lespinasse <walken@google.com>
Sun, 6 Mar 2011 16:14:50 +0000 (16:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2011 21:22:01 +0000 (14:22 -0700)
commit942527634e201883b39fe0c97a1e47db7a026f91
treed867641098f29a060d8025deffdf3bec269a1d54
parentb3017e6a03d261778ad9450b5510460c4d462203
drivers/net: fix build warnings with CONFIG_PM_SLEEP disabled

This fixes a couple of build warnings when CONFIG_PM is enabled but
CONFIG_PM_SLEEP is disabled. Applies on top of v2.6.38-rc7 - I know it's
late, but it would be great if v2.6.38 could compile without warnings!

Signed-off-by: Michel Lespinasse <walken@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/forcedeth.c
drivers/net/sky2.c