]> www.infradead.org Git - users/dwmw2/linux.git/commit
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:12:08 +0000 (09:12 +0100)
commit38bbf8be679265f3519f30fe5d68977271dda6ec
tree0990c8dfdb2081f661f8b3e0787bda17939151fe
parentd242acaa9e2d1f6933b1643fa89b21de17bdd027
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