From: Nobuhiro Iwamatsu Date: Thu, 6 Jun 2013 09:52:37 +0000 (+0000) Subject: sh_eth: enclose PM code into #ifdef CONFIG_PM X-Git-Tag: v3.11-rc1~16^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=540ad1b888ad9564520c1c8c48ad675f76ffce62;p=pandora-kernel.git sh_eth: enclose PM code into #ifdef CONFIG_PM Put '#ifdef CONFIG_PM' around sh_eth_runtime_nop() and 'sh_eth_dev_pm_ops'. Add '#define SH_ETH_PM_OPS' to facilitate initialization of driver's 'pm' field depending on whether CONFIG_PM is enabled. Signed-off-by: Nobuhiro Iwamatsu [Sergei: added the changelog, reworded the subject, changing the prefix.] Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- Reading git-diff-tree failed