Files
kernel_xiaomi_raphael/include/soc/qcom/devfreq_devbw.h
Kyle Yan 8f7b80c4a4 PM / devfreq: devbw: Update config name to CONFIG_QCOM_DEVFREQ_DEVBW
Update incorrect usage of MSM_DEVFREQ_DEVBW to QCOM_DEVFREQ_DEVBW.

Change-Id: I6b003a664332c3935bd0470e8d9e3d6f289c4594
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
2018-03-29 19:29:34 -07:00

44 lines
1.1 KiB
C

/*
* Copyright (c) 2014, 2018 The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#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 */