Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.19-rc1 25 lines 522 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright 2022, The Chromium OS Authors. All rights reserved. 4 */ 5 6#ifndef __SOC_ROCKCHIP_PM_DOMAINS_H__ 7#define __SOC_ROCKCHIP_PM_DOMAINS_H__ 8 9#ifdef CONFIG_ROCKCHIP_PM_DOMAINS 10 11int rockchip_pmu_block(void); 12void rockchip_pmu_unblock(void); 13 14#else /* CONFIG_ROCKCHIP_PM_DOMAINS */ 15 16static inline int rockchip_pmu_block(void) 17{ 18 return 0; 19} 20 21static inline void rockchip_pmu_unblock(void) { } 22 23#endif /* CONFIG_ROCKCHIP_PM_DOMAINS */ 24 25#endif /* __SOC_ROCKCHIP_PM_DOMAINS_H__ */