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>
This commit is contained in:

committed by
Martin Schwidefsky

parent
88e7616e40
commit
58fece7827
@@ -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 */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user