diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-01-28 19:34:26 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-02-14 15:55:09 +0100 |
commit | 58fece7827a7cc40e02bc68a7db8229166984893 (patch) | |
tree | 7305835124de7f16cd9d9dbe8e4c8ca65af69696 /drivers/s390/cio/chsc.h | |
parent | s390/cio: handle unknown pgroup state (diff) | |
download | linux-58fece7827a7cc40e02bc68a7db8229166984893.tar.xz linux-58fece7827a7cc40e02bc68a7db8229166984893.zip |
s390/scm: use inline dummy functions
Convert the defines for the !CONFIG_SCM* stuff to static inline
functions.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.h')
-rw-r--r-- | drivers/s390/cio/chsc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/chsc.h b/drivers/s390/cio/chsc.h index 662dab4b93e6..227e05f674b3 100644 --- a/drivers/s390/cio/chsc.h +++ b/drivers/s390/cio/chsc.h @@ -157,7 +157,7 @@ int chsc_scm_info(struct chsc_scm_info *scm_area, u64 token); #ifdef CONFIG_SCM_BUS int scm_update_information(void); #else /* CONFIG_SCM_BUS */ -#define scm_update_information() 0 +static inline int scm_update_information(void) { return 0; } #endif /* CONFIG_SCM_BUS */ |