diff options
Diffstat (limited to 'drivers/platform/x86/intel_pmc_ipc.c')
-rw-r--r-- | drivers/platform/x86/intel_pmc_ipc.c | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c index e7edc8c63936..7964ba22ef8d 100644 --- a/drivers/platform/x86/intel_pmc_ipc.c +++ b/drivers/platform/x86/intel_pmc_ipc.c | |||
@@ -1,39 +1,34 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * intel_pmc_ipc.c: Driver for the Intel PMC IPC mechanism | 3 | * Driver for the Intel PMC IPC mechanism |
3 | * | 4 | * |
4 | * (C) Copyright 2014-2015 Intel Corporation | 5 | * (C) Copyright 2014-2015 Intel Corporation |
5 | * | 6 | * |
6 | * This driver is based on Intel SCU IPC driver(intel_scu_opc.c) by | 7 | * This driver is based on Intel SCU IPC driver(intel_scu_ipc.c) by |
7 | * Sreedhara DS <sreedhara.ds@intel.com> | 8 | * Sreedhara DS <sreedhara.ds@intel.com> |
8 | * | 9 | * |
9 | * This program is free software; you can redistribute it and/or | ||
10 | * modify it under the terms of the GNU General Public License | ||
11 | * as published by the Free Software Foundation; version 2 | ||
12 | * of the License. | ||
13 | * | ||
14 | * PMC running in ARC processor communicates with other entity running in IA | 10 | * PMC running in ARC processor communicates with other entity running in IA |
15 | * core through IPC mechanism which in turn messaging between IA core ad PMC. | 11 | * core through IPC mechanism which in turn messaging between IA core ad PMC. |
16 | */ | 12 | */ |
17 | 13 | ||
18 | #include <linux/module.h> | 14 | #include <linux/acpi.h> |
15 | #include <linux/atomic.h> | ||
16 | #include <linux/bitops.h> | ||
19 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
20 | #include <linux/errno.h> | ||
21 | #include <linux/init.h> | ||
22 | #include <linux/device.h> | 18 | #include <linux/device.h> |
23 | #include <linux/pm.h> | 19 | #include <linux/errno.h> |
20 | #include <linux/interrupt.h> | ||
21 | #include <linux/io-64-nonatomic-lo-hi.h> | ||
22 | #include <linux/kernel.h> | ||
23 | #include <linux/module.h> | ||
24 | #include <linux/notifier.h> | ||
24 | #include <linux/pci.h> | 25 | #include <linux/pci.h> |
25 | #include <linux/platform_device.h> | 26 | #include <linux/platform_device.h> |
26 | #include <linux/interrupt.h> | 27 | #include <linux/pm.h> |
27 | #include <linux/pm_qos.h> | 28 | #include <linux/pm_qos.h> |
28 | #include <linux/kernel.h> | ||
29 | #include <linux/bitops.h> | ||
30 | #include <linux/sched.h> | 29 | #include <linux/sched.h> |
31 | #include <linux/atomic.h> | ||
32 | #include <linux/notifier.h> | ||
33 | #include <linux/suspend.h> | ||
34 | #include <linux/acpi.h> | ||
35 | #include <linux/io-64-nonatomic-lo-hi.h> | ||
36 | #include <linux/spinlock.h> | 30 | #include <linux/spinlock.h> |
31 | #include <linux/suspend.h> | ||
37 | 32 | ||
38 | #include <asm/intel_pmc_ipc.h> | 33 | #include <asm/intel_pmc_ipc.h> |
39 | 34 | ||
@@ -1029,7 +1024,7 @@ static void __exit intel_pmc_ipc_exit(void) | |||
1029 | 1024 | ||
1030 | MODULE_AUTHOR("Zha Qipeng <qipeng.zha@intel.com>"); | 1025 | MODULE_AUTHOR("Zha Qipeng <qipeng.zha@intel.com>"); |
1031 | MODULE_DESCRIPTION("Intel PMC IPC driver"); | 1026 | MODULE_DESCRIPTION("Intel PMC IPC driver"); |
1032 | MODULE_LICENSE("GPL"); | 1027 | MODULE_LICENSE("GPL v2"); |
1033 | 1028 | ||
1034 | /* Some modules are dependent on this, so init earlier */ | 1029 | /* Some modules are dependent on this, so init earlier */ |
1035 | fs_initcall(intel_pmc_ipc_init); | 1030 | fs_initcall(intel_pmc_ipc_init); |