From patchwork Tue Mar 23 13:06:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12157761 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1245C433DB for ; Tue, 23 Mar 2021 13:07:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 74AE2619B8 for ; Tue, 23 Mar 2021 13:07:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231458AbhCWNGz (ORCPT ); Tue, 23 Mar 2021 09:06:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:43336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231378AbhCWNG2 (ORCPT ); Tue, 23 Mar 2021 09:06:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 92650619B8; Tue, 23 Mar 2021 13:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616504788; bh=nHsI2yRsnlVWb7LJ1HGMAd8oNGGFrOXBNqHTpw+yeh0=; h=From:To:Cc:Subject:Date:From; b=ttQ8/bBIyw9q7Rs2lZmLgh2/Dpu8T6fDft6s3fnYBHlYjFUUlM0M6jrDsOP+Ij4Zq kDe3LlzwHoWoREhIVUxCeI5SpMHkahOZ+EaMtpbzJDD3L2ESJGhAJzyD4AB/0CpZm1 QwUYG8SN3+JPqg//hv+PU/mSTI9TwXDf1p80AsOFj6/aLZxBSVMwB+w2U7vIXUFhV7 I2hzXl1FQ57pe/6fxBwCYqiu21+51u+BMhchxdU/l0XDBQfLZmQMai4r0tZw1RJVFp Iu9mivAWSZa9+1dNGwWyr2xqDi3da6ljPiJTFUZXsXNjeLKnvn0Q4k/CaG7v6EaNAa 0SAQaKxQ8eDHw== From: Arnd Bergmann To: Dmitry Torokhov , Marcos Paulo de Souza Cc: Arnd Bergmann , Po-Hsu Lin , Kevin Locke , Hans de Goede , Alexey Dobriyan , David Pedersen , Rajat Jain , Chris Chiu , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: i8042 - fix Pegatron C15B ID entry Date: Tue, 23 Mar 2021 14:06:13 +0100 Message-Id: <20210323130623.2302402-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Arnd Bergmann The Zenbook Flip entry that was added overwrites a previous one because of a typo: In file included from drivers/input/serio/i8042.h:23, from drivers/input/serio/i8042.c:131: drivers/input/serio/i8042-x86ia64io.h:591:28: error: initialized field overwritten [-Werror=override-init] 591 | .matches = { | ^ drivers/input/serio/i8042-x86ia64io.h:591:28: note: (near initialization for 'i8042_dmi_noselftest_table[0].matches') Add the missing separator between the two. Fixes: b5d6e7ab7fe7 ("Input: i8042 - add ASUS Zenbook Flip to noselftest list") Signed-off-by: Arnd Bergmann Reviewed-by: Hans de Goede Reviewed-by: Marcos Paulo de Souza --- drivers/input/serio/i8042-x86ia64io.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h index 9119e12a5778..a5a003553646 100644 --- a/drivers/input/serio/i8042-x86ia64io.h +++ b/drivers/input/serio/i8042-x86ia64io.h @@ -588,6 +588,7 @@ static const struct dmi_system_id i8042_dmi_noselftest_table[] = { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /* Notebook */ }, + }, { .matches = { DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), DMI_MATCH(DMI_CHASSIS_TYPE, "31"), /* Convertible Notebook */