From patchwork Thu Nov 28 03:30:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251661 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 191D4C045B for ; Thu, 28 Nov 2013 03:30:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 562CF2061E for ; Thu, 28 Nov 2013 03:30:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6CF6B2061C for ; Thu, 28 Nov 2013 03:30:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756119Ab3K1Da4 (ORCPT ); Wed, 27 Nov 2013 22:30:56 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:54030 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754667Ab3K1Daz (ORCPT ); Wed, 27 Nov 2013 22:30:55 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00LNXF3I9T10@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:30:54 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id E0.F9.18301.EE8B6925; Thu, 28 Nov 2013 12:30:54 +0900 (KST) X-AuditID: cbfee68e-b7f7e6d00000477d-c4-5296b8ee4d84 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 71.F8.31284.EE8B6925; Thu, 28 Nov 2013 12:30:54 +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 <0MWY00AKLF3IHO50@mmp2.samsung.com>; Thu, 28 Nov 2013 12:30:54 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org, 'Jingoo Han' , 'Antonino Daplas' References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 22/28] video: savagefb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:30:53 +0900 Message-id: <003e01ceebea$3e4f6bb0$baee4310$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAmiYQ Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBIsWRmVeSWpSXmKPExsVy+t8zfd13O6YFGbyaLmTxs/sLm8XlhZdY LU70fWC1WPfwBZPF+vm32BxYPXbOusvu8erCHRaPvi2rGD2O39jO5PF5k1wAaxSXTUpqTmZZ apG+XQJXxpkT8gWvWSteTGpibmD8zdLFyMkhIWAicaa3ixXCFpO4cG89WxcjF4eQwDJGiTdt a5hhipZtewGVmM4ocenULFYI5xejxNdpD5hAqtgE1CS+fDnMDmKLCOhITFrUwwxSxCywilHi 0a5bYAkhAVuJh/e6GUFsTgE7ieML/4KtEBbwlGha9wEsziKgKvHtxBGwm3iB6vsubmCCsAUl fky+B3Y3s4CWxPqdx5kgbHmJzWveAs3hADpVXeLRX12IG4wklk4+D1UuIrHvxTtGkHskBG6x S7w/0Qa1S0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JLKK4k3NDYxM7I0MrMwMjE3J01YSZz3YKt1oJBAemJJanZqakFqEcwWJg5OqQZG 9xvndNI+Rk/PbDz13HuX8uJFPhvVEw6ECXjWlBtVXy7fHHBj6pFY1qs/dddJnzbwClu+2FWt 0EtUeOJ11iC/7jlH56RkPnwg7Ty1q/DXx1PLWXc9t+Y8JiS4L6T7WPyjqOk2nxk9jhbHrFX5 O7POsy6WsVjSXOTpE+sXEddz/HkZoiwXKLMrsRRnJBpqMRcVJwIAWPXUxEgDAAA= 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 This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han --- drivers/video/savage/savagefb_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c index 4dbf45f..d2d8fcf 100644 --- a/drivers/video/savage/savagefb_driver.c +++ b/drivers/video/savage/savagefb_driver.c @@ -2440,7 +2440,7 @@ static int savagefb_resume(struct pci_dev* dev) } -static struct pci_device_id savagefb_devices[] = { +static DEFINE_PCI_DEVICE_TABLE(savagefb_devices) = { {PCI_VENDOR_ID_S3, PCI_CHIP_SUPSAV_MX128, PCI_ANY_ID, PCI_ANY_ID, 0, 0, FB_ACCEL_SUPERSAVAGE},