#ifdef CONFIG_PM_RUNTIME (...snip...) extern int __pm_runtime_get(struct device *dev, bool sync); (...snip...) #else /* !CONFIG_PM_RUNTIME */ (...snip...) static inline int __pm_runtime_get(struct device *dev, bool sync) { return 1; } (...snip...) #endif /* !CONFIG_PM_RUNTIME */