Message ID | 003901ceebe9$d3366db0$79a34910$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fbdev-owner@kernel.org> X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 16D699F3B8 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 28 Nov 2013 03:27:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5E3082060D for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 28 Nov 2013 03:27:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0D830205F5 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 28 Nov 2013 03:27:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756631Ab3K1D14 (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Wed, 27 Nov 2013 22:27:56 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:53389 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213Ab3K1D1z (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Wed, 27 Nov 2013 22:27:55 -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 <0MWY00KP1EYIX210@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:27:54 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id CB.E8.21927.A38B6925; Thu, 28 Nov 2013 12:27:54 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-bb-5296b83a8e81 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id A1.88.31284.A38B6925; Thu, 28 Nov 2013 12:27:54 +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 <0MWY00F6GEYIEJP0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:27:54 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Tomi Valkeinen' <tomi.valkeinen@ti.com> Cc: 'Jean-Christophe PLAGNIOL-VILLARD' <plagnioj@jcrosoft.com>, linux-fbdev@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com>, 'Antonino Daplas' <adaplas@gmail.com> References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 17/28] video: nvidiafb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:27:54 +0900 Message-id: <003901ceebe9$d3366db0$79a34910$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAfoKw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrKIsWRmVeSWpSXmKPExsVy+t8zQ12rHdOCDGb06Vj87P7CZnF54SVW ixN9H1gt1j18wWSxfv4tNgdWj52z7rJ7vLpwh8Wjb8sqRo/jN7YzeXzeJBfAGsVlk5Kak1mW WqRvl8CVceBOI3vBMdaKq/sTGhjPs3QxcnBICJhI/J7k0cXICWSKSVy4t56ti5GLQ0hgGaNE ++UdjBAJE4l3p24xg9hCAosYJRbv9oEo+sUocfXlQTaQB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m5syezQZSISOx78Y5x AqPQLCSTZiGZNAvJpFlIWhYwsqxiFE0tSC4oTkrPNdIrTswtLs1L10vOz93ECE4Dz6R3MK5q sDjEKMDBqMTDK6EzLUiINbGsuDL3EKMEB7OSCK9CMVCINyWxsiq1KD++qDQntfgQYzLQoxOZ pUST84EpKq8k3tDYxMzI0sjMwsjE3Jw0YSVx3oOt1oFCAumJJanZqakFqUUwW5g4OKUaGL2c XY4rL4iT/C55jGVHraqZTOr1zCs75cSPC32MjWH8ryRW+lNkwy7/Y2vXb41l2n9gk87h903+ wpMKts29YnK6m82941XWXlHVLMEblTqnov5rhr++dSTNZkbGv9mlt5rSDK4ETvFTOr78+Cen m/KTncoPF8TVCbyY771j86IpLG38Vt9uXlNiKc5INNRiLipOBADh/AisRwMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fbdev.vger.kernel.org> 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 |
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c index ff22871..2ed0184 100644 --- a/drivers/video/nvidia/nvidia.c +++ b/drivers/video/nvidia/nvidia.c @@ -62,7 +62,7 @@ /* HW cursor parameters */ #define MAX_CURS 32 -static struct pci_device_id nvidiafb_pci_tbl[] = { +static DEFINE_PCI_DEVICE_TABLE(nvidiafb_pci_tbl) = { {PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_BASE_CLASS_DISPLAY << 16, 0xff0000, 0}, { 0, }
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/video/nvidia/nvidia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)