18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2014 Linaro Ltd. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Author: Ulf Hansson <ulf.hansson@linaro.org> 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci#ifndef __MACH_UX500_PM_DOMAINS_H 98c2ecf20Sopenharmony_ci#define __MACH_UX500_PM_DOMAINS_H 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#ifdef CONFIG_PM_GENERIC_DOMAINS 128c2ecf20Sopenharmony_ciextern int __init ux500_pm_domains_init(void); 138c2ecf20Sopenharmony_ci#else 148c2ecf20Sopenharmony_cistatic inline int ux500_pm_domains_init(void) { return 0; } 158c2ecf20Sopenharmony_ci#endif 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif 18