* [PATCH] Input: elan_i2c - Use device-id/acpi.h for ACPI IDs
@ 2026-08-09 14:29 Longlong Xia
2026-08-14 19:11 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Longlong Xia @ 2026-08-09 14:29 UTC (permalink / raw)
To: dmitry.torokhov; +Cc: linux-input, linux-kernel, Longlong Xia
From: Longlong Xia <xialonglong@kylinos.cn>
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 <xialonglong@kylinos.cn>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Input: elan_i2c - Use device-id/acpi.h for ACPI IDs
2026-08-09 14:29 [PATCH] Input: elan_i2c - Use device-id/acpi.h for ACPI IDs Longlong Xia
@ 2026-08-14 19:11 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2026-08-14 19:11 UTC (permalink / raw)
To: Longlong Xia; +Cc: linux-input, linux-kernel, Longlong Xia
On Sun, Aug 09, 2026 at 10:29:28PM +0800, Longlong Xia wrote:
> From: Longlong Xia <xialonglong@kylinos.cn>
>
> 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 <xialonglong@kylinos.cn>
Applied, thank you.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-14 19:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-09 14:29 [PATCH] Input: elan_i2c - Use device-id/acpi.h for ACPI IDs Longlong Xia
2026-08-14 19:11 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox