From 219d548fd4d50fb14bd7e55c24ac61a45043b749 Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Mon, 17 Oct 2022 09:29:27 +0100 Subject: [PATCH] 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 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2793480 Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- drivers/devfreq/governor_v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/devfreq/governor_v2.h b/drivers/devfreq/governor_v2.h index 0f705b90..554ffef9 100644 --- a/drivers/devfreq/governor_v2.h +++ b/drivers/devfreq/governor_v2.h @@ -8,7 +8,7 @@ * * 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 #define _GOVERNOR_H #include