forked from Minki/linux
860fbde438
The driver's code is refactored in a way that will make it easy to support Tegra30/114/124 SoCs by this unified driver later on. The current functionality is equal to the old Tegra20 driver, only the code's structure changed a tad. This is also a proper platform driver now. Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
18 lines
368 B
C
18 lines
368 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __SOC_TEGRA_CPUIDLE_H__
|
|
#define __SOC_TEGRA_CPUIDLE_H__
|
|
|
|
#ifdef CONFIG_ARM_TEGRA_CPUIDLE
|
|
void tegra_cpuidle_pcie_irqs_in_use(void);
|
|
#else
|
|
static inline void tegra_cpuidle_pcie_irqs_in_use(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* __SOC_TEGRA_CPUIDLE_H__ */
|