| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * This file provides the ACPI based P-state support. This |
|---|
| 3 | 4 | * module works with generic cpufreq infrastructure. Most of |
|---|
| .. | .. |
|---|
| 16 | 17 | #include <linux/init.h> |
|---|
| 17 | 18 | #include <linux/cpufreq.h> |
|---|
| 18 | 19 | #include <linux/proc_fs.h> |
|---|
| 19 | | -#include <linux/seq_file.h> |
|---|
| 20 | 20 | #include <asm/io.h> |
|---|
| 21 | 21 | #include <linux/uaccess.h> |
|---|
| 22 | 22 | #include <asm/pal.h> |
|---|
| .. | .. |
|---|
| 27 | 27 | MODULE_AUTHOR("Venkatesh Pallipadi"); |
|---|
| 28 | 28 | MODULE_DESCRIPTION("ACPI Processor P-States Driver"); |
|---|
| 29 | 29 | MODULE_LICENSE("GPL"); |
|---|
| 30 | | - |
|---|
| 31 | 30 | |
|---|
| 32 | 31 | struct cpufreq_acpi_io { |
|---|
| 33 | 32 | struct acpi_processor_performance acpi_data; |
|---|
| .. | .. |
|---|
| 348 | 347 | pr_debug("acpi_cpufreq_exit\n"); |
|---|
| 349 | 348 | |
|---|
| 350 | 349 | cpufreq_unregister_driver(&acpi_cpufreq_driver); |
|---|
| 351 | | - return; |
|---|
| 352 | 350 | } |
|---|
| 353 | | - |
|---|
| 354 | 351 | |
|---|
| 355 | 352 | late_initcall(acpi_cpufreq_init); |
|---|
| 356 | 353 | module_exit(acpi_cpufreq_exit); |
|---|
| 357 | | - |
|---|