]> git.karo-electronics.de Git - linux-beck.git/commit
jme: Fix compile warning introduced by new pm macro
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Mon, 27 Jun 2011 19:23:34 +0000 (19:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2011 05:13:16 +0000 (22:13 -0700)
commitaab6fb82b1912a312f7547c92ac8d4ecb072e807
treee01cc1728c0e361ad51baf15ddb86b5c117b1725
parentb21f3c7ed98a153865a7094af7d85d84c188667e
jme: Fix compile warning introduced by new pm macro

SIMPLE_DEV_PM_OPS is using SET_SYSTEM_SLEEP_PM_OPS
and SET_SYSTEM_SLEEP_PM_OPS is empty when CONFIG_PM_SLEEP
is not defined.

Switching #ifdef CONFIG_PM to #ifdef CONFIG_PM_SLEEP

Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/jme.c