diff options
author | Maciej Żenczykowski <zenczykowski@gmail.com> | 2010-10-14 00:47:14 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2010-10-14 05:47:16 -0400 |
commit | 3c7d2b765df974ae29a9f1d5a62e15b243a36763 (patch) | |
tree | a1f22e5f5d44441c1091cd6d40e5ffe5132fdaa4 /drivers/pcmcia/cs.c | |
parent | 1ab488de544b7f94b4f8e5aed2b178cac685802f (diff) |
pcmcia: fix unused function compile warning
pcmcia_socket_dev_resume() is only referenced from macro
SET_SYSTEM_SLEEP_PM_OPS(NULL, pcmcia_socket_dev_resume)
which based on CONFIG_PM_SLEEP may or may not actually
use its second parameter.
Signed-off-by: Maciej Żenczykowski <zenczykowski@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs.c')
-rw-r--r-- | drivers/pcmcia/cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index d8189d4061fc..d9ea192c4001 100644 --- a/drivers/pcmcia/cs.c +++ b/drivers/pcmcia/cs.c | |||
@@ -844,7 +844,7 @@ static int pcmcia_socket_dev_resume_noirq(struct device *dev) | |||
844 | return __pcmcia_pm_op(dev, socket_early_resume); | 844 | return __pcmcia_pm_op(dev, socket_early_resume); |
845 | } | 845 | } |
846 | 846 | ||
847 | static int pcmcia_socket_dev_resume(struct device *dev) | 847 | static int __used pcmcia_socket_dev_resume(struct device *dev) |
848 | { | 848 | { |
849 | return __pcmcia_pm_op(dev, socket_late_resume); | 849 | return __pcmcia_pm_op(dev, socket_late_resume); |
850 | } | 850 | } |