mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
platform/tegra: Add common central actmon implementation
Add central actmon common functionality for actomon driver implementation instead of dummy implementation. Bug 3583573 Change-Id: Iff1512e62fc01431899515c78717d5afdae8d910 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2705646 GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
2bf79d8c1a
commit
e37c28218e
@@ -181,18 +181,6 @@ static inline void actmon_dev_writel(void __iomem *base, u32
|
||||
__raw_writel(val, base + offset);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_TEGRA_CENTRAL_ACTMON)
|
||||
int tegra_actmon_register(struct actmon_drv_data *actmon);
|
||||
int tegra_actmon_remove(struct platform_device *pdev);
|
||||
#else
|
||||
static inline int tegra_actmon_register(struct actmon_drv_data *actmon)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
static inline int tegra_actmon_remove(struct platform_device *pdev)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
#endif
|
||||
#endif /* ACTMON_COMMON_H */
|
||||
|
||||
Reference in New Issue
Block a user