Files
android_kernel_fxtec_sm6115/include/soc/qcom/devfreq_devbw.h
Santosh Mardi c82855725f devfreq: update config macro for devbw driver
Update config macro used in devbw include file, use
the proper config macro enabled in the config file.

Change-Id: I187942f849c4a2dde877778053ede14b0c9d31fd
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2019-08-13 12:55:38 +05:30

36 lines
756 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2014, 2019, The Linux Foundation. All rights reserved.
*/
#ifndef _DEVFREQ_DEVBW_H
#define _DEVFREQ_DEVBW_H
#include <linux/devfreq.h>
#ifdef CONFIG_QCOM_DEVFREQ_DEVBW
int devfreq_add_devbw(struct device *dev);
int devfreq_remove_devbw(struct device *dev);
int devfreq_suspend_devbw(struct device *dev);
int devfreq_resume_devbw(struct device *dev);
#else
static inline int devfreq_add_devbw(struct device *dev)
{
return 0;
}
static inline int devfreq_remove_devbw(struct device *dev)
{
return 0;
}
static inline int devfreq_suspend_devbw(struct device *dev)
{
return 0;
}
static inline int devfreq_resume_devbw(struct device *dev)
{
return 0;
}
#endif
#endif /* _DEVFREQ_DEVBW_H */