made _governor_list immutable
This commit is contained in:
+2
-2
@@ -11,14 +11,14 @@ class Governor(NamedTuple):
|
|||||||
priority: int
|
priority: int
|
||||||
|
|
||||||
|
|
||||||
_governor_list: list[Governor] = [
|
_governor_list: tuple[Governor, Governor, Governor, Governor, Governor, Governor] = (
|
||||||
Governor("performance", 0),
|
Governor("performance", 0),
|
||||||
Governor("schedutil", 1),
|
Governor("schedutil", 1),
|
||||||
Governor("ondemand", 2),
|
Governor("ondemand", 2),
|
||||||
Governor("conservative", 3),
|
Governor("conservative", 3),
|
||||||
Governor("userspace", 4),
|
Governor("userspace", 4),
|
||||||
Governor("powersave", 5)
|
Governor("powersave", 5)
|
||||||
]
|
)
|
||||||
|
|
||||||
|
|
||||||
class GovernorControl(AppClass):
|
class GovernorControl(AppClass):
|
||||||
|
|||||||
Reference in New Issue
Block a user