[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250419025026.1555230-1-gourry@gourry.net>
Date: Fri, 18 Apr 2025 22:50:26 -0400
From: Gregory Price <gourry@...rry.net>
To: platform-driver-x86@...r.kernel.org
Cc: naveenkrishna.chatradhi@....com,
carlos.bilbao@...nel.org,
hdegoede@...hat.com,
ilpo.jarvinen@...ux.intel.com,
suma.hegde@....com,
linux-kernel@...r.kernel.org,
kernel-team@...a.com
Subject: [PATCH] platform/x86/amd/hsmp: change driver name from amd_hsmp to hsmp_acpi
The amd_hsmp and hsmp_acpi drivers fail to load together (whichever
is loaded second, fails) because they have the same DRIVER_NAME.
Change hsmp_acpi DRIVER_NAME from amd_hsmp to hsmp_acpi.
Link: https://lore.kernel.org/all/20241021111428.2676884-8-suma.hegde@amd.com/
Fixes: 7d3135d16356f ("platform/x86/amd/hsmp: Create separate ACPI, plat and common drivers")
Signed-off-by: Gregory Price <gourry@...rry.net>
---
drivers/platform/x86/amd/hsmp/acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/x86/amd/hsmp/acpi.c b/drivers/platform/x86/amd/hsmp/acpi.c
index 444b43be35a2..a9c24502d3d2 100644
--- a/drivers/platform/x86/amd/hsmp/acpi.c
+++ b/drivers/platform/x86/amd/hsmp/acpi.c
@@ -26,7 +26,7 @@
#include "hsmp.h"
-#define DRIVER_NAME "amd_hsmp"
+#define DRIVER_NAME "hsmp_acpi"
#define DRIVER_VERSION "2.3"
#define ACPI_HSMP_DEVICE_HID "AMDI0097"
--
2.49.0
Powered by blists - more mailing lists