USB: gadget: Add ID numbers to configfs-gadget driver names
[platform/kernel/linux-starfive.git] / drivers / acpi / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the Linux ACPI interpreter
4 #
5
6 ccflags-$(CONFIG_ACPI_DEBUG)    += -DACPI_DEBUG_OUTPUT
7
8 #
9 # ACPI Boot-Time Table Parsing
10 #
11 ifeq ($(CONFIG_ACPI_CUSTOM_DSDT),y)
12 tables.o: $(src)/../../include/$(CONFIG_ACPI_CUSTOM_DSDT_FILE) ;
13
14 endif
15
16 obj-$(CONFIG_ACPI)              += tables.o
17 obj-$(CONFIG_X86)               += blacklist.o
18
19 #
20 # ACPI Core Subsystem (Interpreter)
21 #
22 obj-$(CONFIG_ACPI)              += acpi.o \
23                                         acpica/
24
25 # All the builtin files are in the "acpi." module_param namespace.
26 acpi-y                          += osi.o osl.o utils.o reboot.o
27 acpi-y                          += nvs.o
28
29 # Power management related files
30 acpi-y                          += wakeup.o
31 acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
32 acpi-y                          += device_sysfs.o device_pm.o
33 acpi-$(CONFIG_ACPI_SLEEP)       += proc.o
34
35
36 #
37 # ACPI Bus and Device Drivers
38 #
39 acpi-y                          += bus.o glue.o
40 acpi-y                          += scan.o
41 acpi-y                          += resource.o
42 acpi-y                          += acpi_processor.o
43 acpi-y                          += processor_core.o
44 acpi-$(CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC) += processor_pdc.o
45 acpi-y                          += ec.o
46 acpi-$(CONFIG_ACPI_DOCK)        += dock.o
47 acpi-$(CONFIG_PCI)              += pci_root.o pci_link.o pci_irq.o
48 obj-$(CONFIG_ACPI_MCFG)         += pci_mcfg.o
49 acpi-$(CONFIG_PCI)              += acpi_lpss.o
50 acpi-y                          += acpi_apd.o
51 acpi-y                          += acpi_platform.o
52 acpi-y                          += acpi_pnp.o
53 acpi-$(CONFIG_ARM_AMBA) += acpi_amba.o
54 acpi-y                          += power.o
55 acpi-y                          += event.o
56 acpi-y                          += evged.o
57 acpi-y                          += sysfs.o
58 acpi-y                          += property.o
59 acpi-$(CONFIG_X86)              += acpi_cmos_rtc.o
60 acpi-$(CONFIG_X86)              += x86/apple.o
61 acpi-$(CONFIG_X86)              += x86/utils.o
62 acpi-$(CONFIG_X86)              += x86/s2idle.o
63 acpi-$(CONFIG_DEBUG_FS)         += debugfs.o
64 acpi-y                          += acpi_lpat.o
65 acpi-$(CONFIG_ACPI_FPDT)        += acpi_fpdt.o
66 acpi-$(CONFIG_ACPI_LPIT)        += acpi_lpit.o
67 acpi-$(CONFIG_ACPI_GENERIC_GSI) += irq.o
68 acpi-$(CONFIG_ACPI_WATCHDOG)    += acpi_watchdog.o
69 acpi-$(CONFIG_ACPI_PRMT)        += prmt.o
70 acpi-$(CONFIG_ACPI_PCC)         += acpi_pcc.o
71
72 # Address translation
73 acpi-$(CONFIG_ACPI_ADXL)        += acpi_adxl.o
74
75 # These are (potentially) separate modules
76
77 # IPMI may be used by other drivers, so it has to initialise before them
78 obj-$(CONFIG_ACPI_IPMI)         += acpi_ipmi.o
79
80 obj-$(CONFIG_ACPI_AC)           += ac.o
81 obj-$(CONFIG_ACPI_BUTTON)       += button.o
82 obj-$(CONFIG_ACPI_TINY_POWER_BUTTON)    += tiny-power-button.o
83 obj-$(CONFIG_ACPI_FAN)          += fan.o
84 fan-objs                        := fan_core.o
85 fan-objs                        += fan_attr.o
86
87 obj-$(CONFIG_ACPI_VIDEO)        += video.o
88 obj-$(CONFIG_ACPI_TAD)          += acpi_tad.o
89 obj-$(CONFIG_ACPI_PCI_SLOT)     += pci_slot.o
90 obj-$(CONFIG_ACPI_PROCESSOR)    += processor.o
91 obj-$(CONFIG_ACPI)              += container.o
92 obj-$(CONFIG_ACPI_THERMAL)      += thermal.o
93 obj-$(CONFIG_ACPI_PLATFORM_PROFILE)     += platform_profile.o
94 obj-$(CONFIG_ACPI_NFIT)         += nfit/
95 obj-$(CONFIG_ACPI_NUMA)         += numa/
96 obj-$(CONFIG_ACPI)              += acpi_memhotplug.o
97 obj-$(CONFIG_ACPI_HOTPLUG_IOAPIC) += ioapic.o
98 obj-$(CONFIG_ACPI_BATTERY)      += battery.o
99 obj-$(CONFIG_ACPI_SBS)          += sbshc.o
100 obj-$(CONFIG_ACPI_SBS)          += sbs.o
101 obj-$(CONFIG_ACPI_HED)          += hed.o
102 obj-$(CONFIG_ACPI_EC_DEBUGFS)   += ec_sys.o
103 obj-$(CONFIG_ACPI_CUSTOM_METHOD)+= custom_method.o
104 obj-$(CONFIG_ACPI_BGRT)         += bgrt.o
105 obj-$(CONFIG_ACPI_CPPC_LIB)     += cppc_acpi.o
106 obj-$(CONFIG_ACPI_SPCR_TABLE)   += spcr.o
107 obj-$(CONFIG_ACPI_DEBUGGER_USER) += acpi_dbg.o
108 obj-$(CONFIG_ACPI_PPTT)         += pptt.o
109 obj-$(CONFIG_ACPI_PFRUT)        += pfr_update.o pfr_telemetry.o
110
111 # processor has its own "processor." module_param namespace
112 processor-y                     := processor_driver.o processor_thermal.o
113 processor-$(CONFIG_ACPI_PROCESSOR_IDLE) += processor_idle.o
114 processor-$(CONFIG_ACPI_CPU_FREQ_PSS)   += processor_throttling.o
115 processor-$(CONFIG_CPU_FREQ)    += processor_perflib.o
116
117 obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o
118
119 obj-$(CONFIG_ACPI_APEI)         += apei/
120
121 obj-$(CONFIG_ACPI_EXTLOG)       += acpi_extlog.o
122
123 obj-$(CONFIG_ACPI_CONFIGFS)     += acpi_configfs.o
124
125 obj-y                           += pmic/
126
127 video-objs                      += acpi_video.o video_detect.o
128 obj-y                           += dptf/
129
130 obj-$(CONFIG_ARM64)             += arm64/
131
132 obj-$(CONFIG_ACPI_VIOT)         += viot.o