Input: i8042 - rename i8042-x86ia64io.h to i8042-acpipnpio.h

[ Upstream commit 8761b9b580d53162cca7868385069c0d4354c9e0 ]

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>
Stable-dep-of: eb09074bdb05 ("Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Huacai Chen 2022-10-01 14:28:34 -07:00 committed by Greg Kroah-Hartman
parent 3fac8ce48f
commit 677bff659f
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _I8042_X86IA64IO_H
#define _I8042_X86IA64IO_H
#ifndef _I8042_ACPIPNPIO_H
#define _I8042_ACPIPNPIO_H
#ifdef CONFIG_X86
@ -1587,4 +1587,4 @@ static inline void i8042_platform_exit(void)
i8042_pnp_exit();
}
#endif /* _I8042_X86IA64IO_H */
#endif /* _I8042_ACPIPNPIO_H */

View File

@ -20,7 +20,7 @@
#elif defined(CONFIG_SPARC)
#include "i8042-sparcio.h"
#elif defined(CONFIG_X86) || defined(CONFIG_IA64)
#include "i8042-x86ia64io.h"
#include "i8042-acpipnpio.h"
#else
#include "i8042-io.h"
#endif