mirror of
https://github.com/a52xq-dev/kernel.git
synced 2026-10-19 06:08:12 +07:00
* this imports the latest version of SM-A526B kernel from https://opensource.samsung.com/uploadSearch?searchValue=SM-A526B
35 lines
756 B
C
35 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 */
|