From patchwork Thu Nov 28 03:30:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251651 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 52779C045B for ; Thu, 28 Nov 2013 03:30:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 894D92061E for ; Thu, 28 Nov 2013 03:30:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AAA6B2061C for ; Thu, 28 Nov 2013 03:30:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758629Ab3K1DaZ (ORCPT ); Wed, 27 Nov 2013 22:30:25 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:62659 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754667Ab3K1DaY (ORCPT ); Wed, 27 Nov 2013 22:30:24 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00F18F2MGF50@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:30:22 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 3A.A3.18459.EC8B6925; Thu, 28 Nov 2013 12:30:22 +0900 (KST) X-AuditID: cbfee68f-b7f336d00000481b-f1-5296b8cec5e4 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 8D.D8.31284.EC8B6925; Thu, 28 Nov 2013 12:30:22 +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 <0MWY00AWMF2M6860@mmp2.samsung.com>; Thu, 28 Nov 2013 12:30:22 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org, 'Jingoo Han' References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 21/28] video: s3fb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:30:22 +0900 Message-id: <003d01ceebea$2b79a4b0$826cee10$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAlMhg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNIsWRmVeSWpSXmKPExsVy+t8zQ91zO6YFGcy9ZmhxeeElVosTfR9Y LdY9fMFksX7+LTYHFo9XF+6wePRtWcXocfzGdiaPz5vkAliiuGxSUnMyy1KL9O0SuDKmLN7L XrCGreL+r5gGxtWsXYwcHBICJhJT3op0MXICmWISF+6tZ+ti5OIQEljGKNG3v4EFImEisevm SXYQW0hgOqPEmZkFEEW/GCW2bZkBVsQmoCbx5cthsCIRAR2JSYt6mEGKmAUaGSVaup+zQnTb Sjy8180IYnMK2EkcX/iXGcQWFnCVWH+uD2wQi4CqxNkbO9hBruMFqt/42gYkzCsgKPFj8j2w EmYBLYn1O48zQdjyEpvXvGWGeEZd4tFfXYgTjCQOtnaxQpSISOx78Y4R5BwJgXPsEve7XzND rBKQ+Db5EAtEr6zEpgPMEP9K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qEcwWJg5OqQbG8HYtv72FXT9e z63+LdOzVoq9qSlo7iy9vZHdaim1fSfvHtP/8/lo8q8ENZFJlwo2hkZGXv3Iq/ZaRb9w1hu1 uO9Fp64sNfgeW6MnGpsdcW2b6mQvDd2J/ycd/20g8LuF6/qf+7d7XhVuu1bLXiX8buvESr+U hZY7POva4/oSy+fvU4p52xqpxFKckWioxVxUnAgAMVdnGzwDAAA= 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/s3fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/s3fb.c b/drivers/video/s3fb.c index 968b299..6392d53 100644 --- a/drivers/video/s3fb.c +++ b/drivers/video/s3fb.c @@ -1503,7 +1503,7 @@ static int s3_pci_resume(struct pci_dev* dev) /* List of boards that we are trying to support */ -static struct pci_device_id s3_devices[] = { +static DEFINE_PCI_DEVICE_TABLE(s3_devices) = { {PCI_DEVICE(PCI_VENDOR_ID_S3, 0x8810), .driver_data = CHIP_XXX_TRIO}, {PCI_DEVICE(PCI_VENDOR_ID_S3, 0x8811), .driver_data = CHIP_XXX_TRIO}, {PCI_DEVICE(PCI_VENDOR_ID_S3, 0x8812), .driver_data = CHIP_M65_AURORA64VP},