Skip to content

Commit 8761b9b

Browse files
chenhuacaidtor
authored andcommitted
Input: i8042 - rename i8042-x86ia64io.h to i8042-acpipnpio.h
Now i8042-x86ia64io.h is shared by X86 and IA64, but it can be shared by more platforms (such as LoongArch) with ACPI firmware on which PNP typed keyboard and mouse is configured in DSDT. So rename it to i8042- acpipnpio.h. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20220917064020.1639709-1-chenhuacai@loongson.cn Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 63c5eb1 commit 8761b9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/input/serio/i8042-x86ia64io.h renamed to drivers/input/serio/i8042-acpipnpio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: GPL-2.0-only */
2-
#ifndef _I8042_X86IA64IO_H
3-
#define _I8042_X86IA64IO_H
2+
#ifndef _I8042_ACPIPNPIO_H
3+
#define _I8042_ACPIPNPIO_H
44

55

66
#ifdef CONFIG_X86
@@ -1665,4 +1665,4 @@ static inline void i8042_platform_exit(void)
16651665
i8042_pnp_exit();
16661666
}
16671667

1668-
#endif /* _I8042_X86IA64IO_H */
1668+
#endif /* _I8042_ACPIPNPIO_H */

drivers/input/serio/i8042.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#elif defined(CONFIG_SPARC)
2121
#include "i8042-sparcio.h"
2222
#elif defined(CONFIG_X86) || defined(CONFIG_IA64)
23-
#include "i8042-x86ia64io.h"
23+
#include "i8042-acpipnpio.h"
2424
#else
2525
#include "i8042-io.h"
2626
#endif

0 commit comments

Comments
 (0)