DORMANTno replies

[PATCH] Input: elan_i2c - Use device-id/acpi.h for ACPI IDs

From: Longlong Xia <hidden>
Date: 2026-08-09 14:29:53
Also in: lkml
Subsystem: input (keyboard, mouse, joystick, touchscreen) drivers, the rest · Maintainers: Dmitry Torokhov, Linus Torvalds

From: Longlong Xia <redacted>

elan-i2c-ids.h only needs struct acpi_device_id from the ACPI
device ID definitions. The MODULE_DEVICE_TABLE() user already includes
<linux/module.h>.

Include <linux/device-id/acpi.h> instead of the broader
<linux/mod_devicetable.h> header.

Assisted-by: Codex:GPT-5
Signed-off-by: Longlong Xia <redacted>
---
 include/linux/input/elan-i2c-ids.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/input/elan-i2c-ids.h b/include/linux/input/elan-i2c-ids.h
index 51cca17ee94c..874bf0ab500c 100644
--- a/include/linux/input/elan-i2c-ids.h
+++ b/include/linux/input/elan-i2c-ids.h
@@ -18,7 +18,7 @@
 #ifndef __ELAN_I2C_IDS_H
 #define __ELAN_I2C_IDS_H
 
-#include <linux/mod_devicetable.h>
+#include <linux/device-id/acpi.h>
 
 static const struct acpi_device_id elan_acpi_id[] = {
 	{ "ELAN0000", 0 },
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help