From patchwork Mon Dec 2 23:28:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3272331 Return-Path: X-Original-To: patchwork-linux-fbdev@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 D8C0CC0D4A for ; Mon, 2 Dec 2013 23:28:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7F6F20364 for ; Mon, 2 Dec 2013 23:28:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EA57520270 for ; Mon, 2 Dec 2013 23:28:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753309Ab3LBX2l (ORCPT ); Mon, 2 Dec 2013 18:28:41 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:36142 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752751Ab3LBX2k (ORCPT ); Mon, 2 Dec 2013 18:28:40 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MX700K3ZD7MKH90@mailout4.samsung.com>; Tue, 03 Dec 2013 08:28:34 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 83.0B.21927.2A71D925; Tue, 03 Dec 2013 08:28:34 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-bc-529d17a23f47 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id EC.BA.31284.1A71D925; Tue, 03 Dec 2013 08:28:33 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MX70036TD7LF200@mmp2.samsung.com>; Tue, 03 Dec 2013 08:28:33 +0900 (KST) From: Jingoo Han To: 'Greg Kroah-Hartman' Cc: linux-kernel@vger.kernel.org, 'Jingoo Han' , 'Tomi Valkeinen' , linux-fbdev@vger.kernel.org References: <001501ceefb1$69c96820$3d5c3860$%han@samsung.com> In-reply-to: <001501ceefb1$69c96820$3d5c3860$%han@samsung.com> Subject: [PATCH 32/39] video: remove DEFINE_PCI_DEVICE_TABLE macro Date: Tue, 03 Dec 2013 08:28:33 +0900 Message-id: <003501ceefb6$37ba5dd0$a72f1970$%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: Ac7vsUc6neA2wWIVTNSB4ceFa5FjuwABNyQw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAIsWRmVeSWpSXmKPExsVy+t8zQ91F4nODDNZ1Mls0L17PZnF54SVW ixN9H1gtLu+aw2axfv4tNgdWj/1z17B79G1Zxehx/MZ2Jo/Pm+QCWKK4bFJSczLLUov07RK4 Mh7fWsxYsJOzYt6Xf8wNjG/Zuxg5OCQETCTO9vt1MXICmWISF+6tZ+ti5OIQEljGKNF5aioj RMJE4vbtSVCJ6YwSN97MZ4FwfjFKvPx3nQWkik1ATeLLl8PsILaIgKnExvdTGEGKmAV6GSWe rj7DBpIQErCVmP5iMxPIak4BO4m+T7UgprCAk8TXhnwQk0VAVeLQ9SKQYl6g4omz7rFB2IIS PybfA9vELKAlsX7ncSYIW15i85q3zBC/qEs8+qsLcYCRxIu3L6HKRST2vXgHdoyEwDV2idf9 k8H+YhEQkPg2+RALRK+sxKYDzBDvSkocXHGDZQKj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hh5tVVy +IqF+lbZzXL8c/jrpl+CBQzezCeq72rXfP97nOm34LELhvbZkuw5m6LbC9uit1rPMrq6cv4n l5LZFuUxk5/vdpkSdTgw6abco9BTNj8nWbDl/tvKtazkVtDzG+lrlI5rT1LqV7Vb2nnlbqnJ qYCdJYdmrpILbUh4E5OpoPhOyFriVK8SS3FGoqEWc1FxIgAZGAqQQQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@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 Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han --- drivers/video/hyperv_fb.c | 2 +- drivers/video/i740fb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index 130708f..8254ed7 100644 --- a/drivers/video/hyperv_fb.c +++ b/drivers/video/hyperv_fb.c @@ -800,7 +800,7 @@ static int hvfb_remove(struct hv_device *hdev) } -static DEFINE_PCI_DEVICE_TABLE(pci_stub_id_table) = { +static const struct pci_device_id pci_stub_id_table[] = { { .vendor = PCI_VENDOR_ID_MICROSOFT, .device = PCI_DEVICE_ID_HYPERV_VIDEO, diff --git a/drivers/video/i740fb.c b/drivers/video/i740fb.c index ca7c9df..a2b4204 100644 --- a/drivers/video/i740fb.c +++ b/drivers/video/i740fb.c @@ -1260,7 +1260,7 @@ fail: #define I740_ID_PCI 0x00d1 #define I740_ID_AGP 0x7800 -static DEFINE_PCI_DEVICE_TABLE(i740fb_id_table) = { +static const struct pci_device_id i740fb_id_table[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, I740_ID_PCI) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, I740_ID_AGP) }, { 0 }