diff options
| author | Kurt Borja <[email protected]> | 2025-02-18 19:41:09 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-02-24 15:15:02 +0000 |
| commit | cfba129ad2775b6ed1f209367905ddb8c9964bf5 (patch) | |
| tree | a9b74955382a9789cf4b3f82fb95e122e897c409 /drivers/platform/x86/amd/pmc | |
| parent | platform/x86: dell: dell-wmi-sysman: Use *-y instead of *-objs in Makefile (diff) | |
| download | kernel-cfba129ad2775b6ed1f209367905ddb8c9964bf5.tar.gz kernel-cfba129ad2775b6ed1f209367905ddb8c9964bf5.zip | |
platform/x86: amd: Use *-y instead of *-objs in Makefiles
The `objs` suffix is reserved for user-space tools. Use the `y` suffix
instead, which is usually used for kernel drivers.
While at it, fix alignment in AMD PMC and PMF Makefiles.
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Kurt Borja <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/amd/pmc')
| -rw-r--r-- | drivers/platform/x86/amd/pmc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/amd/pmc/Makefile b/drivers/platform/x86/amd/pmc/Makefile index 255d94ddf999..bb6905c4cae9 100644 --- a/drivers/platform/x86/amd/pmc/Makefile +++ b/drivers/platform/x86/amd/pmc/Makefile @@ -4,6 +4,6 @@ # AMD Power Management Controller Driver # -amd-pmc-objs := pmc.o pmc-quirks.o mp1_stb.o -obj-$(CONFIG_AMD_PMC) += amd-pmc.o -amd-pmc-$(CONFIG_AMD_MP2_STB) += mp2_stb.o +obj-$(CONFIG_AMD_PMC) += amd-pmc.o +amd-pmc-y := pmc.o pmc-quirks.o mp1_stb.o +amd-pmc-$(CONFIG_AMD_MP2_STB) += mp2_stb.o |
