devfreq: pod v2: Add support for Linux v6.1

Currently the pod v2 governor only supports kernel upto Linux v6.0.
Now that Linux v6.1-rc1 is released we can enable support for Linux v6.1
by ensuring that the definitions and functions defined in the
governor_v2.h are compatible with upstream.

Bug 3835208

Change-Id: I028346f2ac2c0f8e5c08b75e91355a719803e999
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2793480
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Jon Hunter
2022-10-17 09:29:27 +01:00
committed by Laxman Dewangan
parent d8383c2fd4
commit 219d548fd4

View File

@@ -8,7 +8,7 @@
* *
* This header is for devfreq governors in drivers/devfreq/ * This header is for devfreq governors in drivers/devfreq/
*/ */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) && LINUX_VERSION_CODE <= KERNEL_VERSION(6, 0, 0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) && LINUX_VERSION_CODE <= KERNEL_VERSION(6, 1, 0)
#ifndef _GOVERNOR_H #ifndef _GOVERNOR_H
#define _GOVERNOR_H #define _GOVERNOR_H
#include <linux/devfreq.h> #include <linux/devfreq.h>