diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2026-06-25 01:01:41 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2026-06-25 01:04:58 +0000 |
| commit | 7b107346448a7df2446bc67bf0bc2a6acaef5cbf (patch) | |
| tree | 4e9ff3157ce680cb0be70ad327a096fe5ef76d6c | |
| parent | 39975c7778fd6ac56571ec64a2003b06a1ca8a52 (diff) | |
hwpstate_amd(4): Rename remaining 'struct set_autonomous_hwp_data'
For consistency.
No functional change (intended).
Fixes: c6a0eb7ada62 ("hwpstate_amd(4): Rename '*set_autonomous_hwp*()' => 'enable_cppc*()'")
Event: Halifax Hackathon 202606
Location: jrm@'s living room
Sponsored by: The FreeBSD Foundation
| -rw-r--r-- | sys/x86/cpufreq/hwpstate_amd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/x86/cpufreq/hwpstate_amd.c b/sys/x86/cpufreq/hwpstate_amd.c index bbc6592579e3..08695da5638a 100644 --- a/sys/x86/cpufreq/hwpstate_amd.c +++ b/sys/x86/cpufreq/hwpstate_amd.c @@ -793,7 +793,7 @@ hwpstate_identify(driver_t *driver, device_t parent) device_printf(parent, "hwpstate: add child failed\n"); } -struct set_autonomous_hwp_data { +struct enable_cppc_data { /* Inputs */ struct hwpstate_softc *sc; /* Outputs */ @@ -808,7 +808,7 @@ struct set_autonomous_hwp_data { static void enable_cppc_cb(void *args) { - struct set_autonomous_hwp_data *const data = args; + struct enable_cppc_data *const data = args; struct hwpstate_softc *const sc = data->sc; uint64_t lowest_perf, highest_perf; int error; @@ -890,7 +890,7 @@ enable_cppc(struct hwpstate_softc *sc) { const device_t dev = sc->dev; const u_int cpuid = sc->cpuid; - struct set_autonomous_hwp_data data; + struct enable_cppc_data data; struct sbuf sbs; struct sbuf *sb; |
