diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-05-25 22:35:18 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-05-25 22:35:18 +0200 |
commit | dcc4aba7b6df76136f526e1b4d2c15e1fb611941 (patch) | |
tree | e6982db3ab4084f1224c9610f8c56498d3ee0097 /fs/ceph/mds_client.c | |
parent | 9b5f27e33509f6dca8363fcb6ae11612df79f4a3 (diff) |
PM: Fix build with CONFIG_SUSPEND unset
If CONFIG_SUSPEND is unset, pm_state_valid() doesn't build because
the pm_states[] array is not defined, but pm_state_valid() is only
used under #ifdef CONFIG_SUSPEND, so don't try to build it if
CONFIG_SUSPEND is unset.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Diffstat (limited to 'fs/ceph/mds_client.c')
0 files changed, 0 insertions, 0 deletions