]> git.baikalelectronics.ru Git - kernel.git/commit
pch_can: Fix warnings
authorTomoya <tomoya-linux@dsn.okisemi.com>
Sun, 12 Dec 2010 20:24:11 +0000 (20:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Dec 2010 20:24:20 +0000 (12:24 -0800)
commit9381a5a9d36b9336390a8b61714f7b40aa79e8eb
tree3ad13a28f36021e76b94425a38833716dc7c083e
parent3925e46df458ed70b5914cbce6be17e9cde296e2
pch_can: Fix warnings

Currently, in case CONFIG_PM is disabled, compiler outputs warnings.
Move six functions which are used only CONFIG_PM is enabled,
into "#ifdef CONFIG_PM" area.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/pch_can.c