Commit 3c7d2b76 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Dominik Brodowski

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: default avatarMaciej Żenczykowski <zenczykowski@gmail.com>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 1ab488de
...@@ -844,7 +844,7 @@ static int pcmcia_socket_dev_resume_noirq(struct device *dev) ...@@ -844,7 +844,7 @@ static int pcmcia_socket_dev_resume_noirq(struct device *dev)
return __pcmcia_pm_op(dev, socket_early_resume); return __pcmcia_pm_op(dev, socket_early_resume);
} }
static int pcmcia_socket_dev_resume(struct device *dev) static int __used pcmcia_socket_dev_resume(struct device *dev)
{ {
return __pcmcia_pm_op(dev, socket_late_resume); return __pcmcia_pm_op(dev, socket_late_resume);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment