Message ID | 001a01ceebe0$68d60060$3a820120$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-input-owner@kernel.org> X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 245DDC045B for <patchwork-linux-input@patchwork.kernel.org>; Thu, 28 Nov 2013 02:20:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DAE62061A for <patchwork-linux-input@patchwork.kernel.org>; Thu, 28 Nov 2013 02:20:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90014203E9 for <patchwork-linux-input@patchwork.kernel.org>; Thu, 28 Nov 2013 02:20:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757442Ab3K1CUn (ORCPT <rfc822;patchwork-linux-input@patchwork.kernel.org>); Wed, 27 Nov 2013 21:20:43 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:9656 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754736Ab3K1CUn (ORCPT <rfc822;linux-input@vger.kernel.org>); Wed, 27 Nov 2013 21:20:43 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00CENBU6IE60@mailout1.samsung.com> for linux-input@vger.kernel.org; Thu, 28 Nov 2013 11:20:30 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 1D.91.21927.E68A6925; Thu, 28 Nov 2013 11:20:30 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-f3-5296a86efbce Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A9.BD.32308.E68A6925; Thu, 28 Nov 2013 11:20:30 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MWY00G5FBU6ZZ90@mmp1.samsung.com>; Thu, 28 Nov 2013 11:20:30 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Dmitry Torokhov' <dmitry.torokhov@gmail.com> Cc: 'Dmitry Torokhov' <dtor@mail.ru>, linux-input@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com> References: <001901ceebe0$46c96b10$d45c4130$%han@samsung.com> In-reply-to: <001901ceebe0$46c96b10$d45c4130$%han@samsung.com> Subject: [PATCH 2/3] Input: fm801-gp - use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 11:20:30 +0900 Message-id: <001a01ceebe0$68d60060$3a820120$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac7r4Eavz7nmm4p/RBKuewLHTLhaTQAAAhhg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNIsWRmVeSWpSXmKPExsVy+t8zA928FdOCDPbe0LU4vOgFo8XD7S9Y LS4vvMRqcfPTN1YHFo+ds+6ye0yZe4TVo2/LKkaPz5vkAliiuGxSUnMyy1KL9O0SuDIOXvYo +Mxa8fjFKaYGxj8sXYycHBICJhKzL99khbDFJC7cW8/WxcjFISSwjFFi8861jDBFa74/YodI LGKUmPjwDCOE84tR4tfu1WCj2ATUJL58OQxUxcEhImAoMWNNFYjJLJAucfagB0iFkICtxPE3 /5lAbE4BO4kFu5eygdjCAh4S577eBYuzCKhKtHeeZgaxeYHqv7dtZY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EWBPLiitzDzFKcDArifAqFAOFeFMSK6tSi/Lji0pzUosPMSYDPTqRWUo0OR+YivJK 4g2NTcyMLI3MLIxMzM1JE1YS5z3Qah0oJJCeWJKanZpakFoEs4WJg1OqgXFCWPVjmbdqMtP9 th+e2C2xfzuTgonzNMmr8dIPvGoTLy5kvy159cqphi08T/s9pptveXqiwdJ/dZDTBK9d34wP BzqLBaZm/X8itHmtK1P6Dc1LR9Z6HPXj360XU7CzNc5r0qWNN+9mCaiXT/l95NaNpRK2EUoT 9uXv1Cvh+u5/327ryf4t/+yVWIozEg21mIuKEwH0BEhpOwMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: <linux-input.vger.kernel.org> X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/input/gameport/fm801-gp.c b/drivers/input/gameport/fm801-gp.c index ae912d3..5ace35bf 100644 --- a/drivers/input/gameport/fm801-gp.c +++ b/drivers/input/gameport/fm801-gp.c @@ -140,7 +140,7 @@ static void fm801_gp_remove(struct pci_dev *pci) pci_disable_device(pci); } -static const struct pci_device_id fm801_gp_id_table[] = { +static DEFINE_PCI_DEVICE_TABLE(fm801_gp_id_table) = { { PCI_VENDOR_ID_FORTEMEDIA, PCI_DEVICE_ID_FM801_GP, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0 } };
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/input/gameport/fm801-gp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)