mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
e4555d69a1
Backport cpufreq changes from upstream so that the MediaTek MT7988 SoC can be supported. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
26 lines
845 B
Diff
26 lines
845 B
Diff
From 756104b856d4bc3121420af3ced342f5fc2b2123 Mon Sep 17 00:00:00 2001
|
|
From: Jia-Wei Chang <jia-wei.chang@mediatek.com>
|
|
Date: Fri, 8 Apr 2022 12:58:57 +0800
|
|
Subject: [PATCH 02/21] cpufreq: mediatek: Remove unused headers
|
|
|
|
Remove unused headers.
|
|
|
|
Signed-off-by: Jia-Wei Chang <jia-wei.chang@mediatek.com>
|
|
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
|
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
---
|
|
drivers/cpufreq/mediatek-cpufreq.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
--- a/drivers/cpufreq/mediatek-cpufreq.c
|
|
+++ b/drivers/cpufreq/mediatek-cpufreq.c
|
|
@@ -13,8 +13,6 @@
|
|
#include <linux/platform_device.h>
|
|
#include <linux/pm_opp.h>
|
|
#include <linux/regulator/consumer.h>
|
|
-#include <linux/slab.h>
|
|
-#include <linux/thermal.h>
|
|
|
|
#define MIN_VOLT_SHIFT (100000)
|
|
#define MAX_VOLT_SHIFT (200000)
|