Input: i8042 - unbreak Pegatron C15B
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 4 Jan 2021 01:59:51 +0000 (17:59 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2021 08:29:11 +0000 (09:29 +0100)
commit4fcaf04963e2f370d1d5934c737dbadcf3fcccc0
tree0d6d47a49e88ba2a653db67aca0e3250b47a0ac6
parentbd508a509c2ac47b9bfe5ad8719fafa8576e56a6
Input: i8042 - unbreak Pegatron C15B

[ Upstream commit a3a9060ecad030e2c7903b2b258383d2c716b56c ]

g++ reports

drivers/input/serio/i8042-x86ia64io.h:225:3: error: ‘.matches’ designator used multiple times in the same initializer list

C99 semantics is that last duplicated initialiser wins,
so DMI entry gets overwritten.

Fixes: a48491c65b51 ("Input: i8042 - add ByteSpeed touchpad to noloop table")
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Link: https://lore.kernel.org/r/20201228072335.GA27766@localhost.localdomain
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/serio/i8042-x86ia64io.h