aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorSergei Shtylyov <[email protected]>2015-01-16 13:56:02 -0800
committerGreg Kroah-Hartman <[email protected]>2015-02-02 10:11:25 -0800
commitcb8763417224340f9a6092092077c801ce686eba (patch)
tree8d630bbf75d44789789362939424e9389483a34e /lib/mpi/mpi-internal.h
parentc81622ac4282b0183e738e192c91fabe4a782715 (diff)
sh-sci: extend PM methods
In order to make it possible to restore from hibernation not only in Linux but also in e.g. U-Boot, we have to use sci_{suspend|remove}() for the PM {freeze| thaw|restore}() methods. It's handy to achieve this by using SIMPLE_DEV_PM_OPS() macro, however we have to annotate sci_{suspend|remove}() with '__maybe_unused' in order to avoid compilation warnings when CONFIG_PM_SLEEP is undefined. Based on orignal patch by Mikhail Ulyanov <[email protected]>. Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions