aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2016-11-19 21:50:10 +0000
committerMauro Carvalho Chehab <[email protected]>2016-12-21 08:53:35 +0000
commit4bfb934b0067b7f6a24470682c5f7254fd4d8282 (patch)
treec686c1424cc13c507bbf2a9b0d9aba112e5eda64 /drivers/net/xen-netback/interface.c
parent[media] smiapp: Implement power-on and power-off sequences without runtime PM (diff)
downloadkernel-4bfb934b0067b7f6a24470682c5f7254fd4d8282.tar.gz
kernel-4bfb934b0067b7f6a24470682c5f7254fd4d8282.zip
[media] smiapp: Make suspend and resume functions __maybe_unused
The smiapp_suspend() and smiapp_resume() functions will end up being unused if CONFIG_PM is enabled but CONFIG_PM_SLEEP is disabled, causing a compiler warning from both of the function definitions. Fix this by marking the functions with __maybe_unused. Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions