mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform/x86/amd/hsmp: change driver name from amd_hsmp to hsmp_acpi
@ 2025-04-19  2:50 Gregory Price
  2025-04-19  9:00 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Gregory Price @ 2025-04-19  2:50 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: naveenkrishna.chatradhi, carlos.bilbao, hdegoede, ilpo.jarvinen,
	suma.hegde, linux-kernel, kernel-team

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@gourry.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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-19  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-19  2:50 [PATCH] platform/x86/amd/hsmp: change driver name from amd_hsmp to hsmp_acpi Gregory Price
2025-04-19  9:00 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®