Message ID | 001901ceebe0$46c96b10$d45c4130$%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 68179C0C5E for <patchwork-linux-input@patchwork.kernel.org>; Thu, 28 Nov 2013 02:19:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B452C20620 for <patchwork-linux-input@patchwork.kernel.org>; Thu, 28 Nov 2013 02:19:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73DBC2061E for <patchwork-linux-input@patchwork.kernel.org>; Thu, 28 Nov 2013 02:19:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758587Ab3K1CTi (ORCPT <rfc822;patchwork-linux-input@patchwork.kernel.org>); Wed, 27 Nov 2013 21:19:38 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:9417 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758477Ab3K1CTf (ORCPT <rfc822;linux-input@vger.kernel.org>); Wed, 27 Nov 2013 21:19:35 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00DE6BSL0P50@mailout1.samsung.com> for linux-input@vger.kernel.org; Thu, 28 Nov 2013 11:19:33 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 71.9B.18459.538A6925; Thu, 28 Nov 2013 11:19:33 +0900 (KST) X-AuditID: cbfee68f-b7f336d00000481b-2d-5296a83519b7 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D5.8D.32308.538A6925; Thu, 28 Nov 2013 11:19:33 +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 <0MWY00GT1BSL2LC0@mmp1.samsung.com>; Thu, 28 Nov 2013 11:19:33 +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> Subject: [PATCH 1/3] Input: emu10k1 - use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 11:19:33 +0900 Message-id: <001901ceebe0$46c96b10$d45c4130$%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/RBKuewLHTLhaTQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsVy+t8zI13TFdOCDLYvVbE4vOgFo8XD7S9Y LS4vvMRqcfPTN1YHFo+ds+6ye0yZe4TVo2/LKkaPz5vkAliiuGxSUnMyy1KL9O0SuDLaJt1k L7jJWnHy9V3mBsbbLF2MnBwSAiYSN38dY4SwxSQu3FvP1sXIxSEksIxR4teEPcwwRQt3NTJB JBYxSlxoPskM4fxilPj36SITSBWbgJrEly+H2bsYOThEBAwlZqypAjGZBdIlzh70AKkQFnCX uHZkIiuIzSKgKrHi8k52EJtXwFbi9NnrULagxI/J98COYxbQkli/8zgThC0vsXnNW2aQkRIC 6hKP/uqChEUE9CT+969ihigRkdj34h3UL9vYJdou+0KsEpD4NvkQC0SrrMSmA1B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um+USe37udxZlZnvmGnGwI7DL +77TNW3Te1bSAd57Nu00sk4QnmedbWwen3hMc/vTHO7JxunbbT6kPIor7tpetP7ioTVbYqat D11zekLwzruzVsZNmFQrcvhK/Mc+gXj3zhuZL/8ZLuyLXZn76qPvVnEu+1XaT5/3yCqU6Xi/ VmIpzkg01GIuKk4EAPiFskQkAwAA 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/emu10k1-gp.c b/drivers/input/gameport/emu10k1-gp.c index fa7a95c..72a7213 100644 --- a/drivers/input/gameport/emu10k1-gp.c +++ b/drivers/input/gameport/emu10k1-gp.c @@ -46,7 +46,7 @@ struct emu { int size; }; -static const struct pci_device_id emu_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(emu_tbl) = { { 0x1102, 0x7002, PCI_ANY_ID, PCI_ANY_ID }, /* SB Live gameport */ { 0x1102, 0x7003, PCI_ANY_ID, PCI_ANY_ID }, /* Audigy gameport */
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/input/gameport/emu10k1-gp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)