From patchwork Thu Nov 28 03:31:38 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251671 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 B18D5C045B for ; Thu, 28 Nov 2013 03:31:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 020D120617 for ; Thu, 28 Nov 2013 03:31:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2595220532 for ; Thu, 28 Nov 2013 03:31:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756631Ab3K1Dbk (ORCPT ); Wed, 27 Nov 2013 22:31:40 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:23897 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754154Ab3K1Dbk (ORCPT ); Wed, 27 Nov 2013 22:31:40 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00CWPF4RGFC0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:31:39 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id A7.1A.18301.A19B6925; Thu, 28 Nov 2013 12:31:38 +0900 (KST) X-AuditID: cbfee68e-b7f7e6d00000477d-0a-5296b91a9c88 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 9E.9A.32308.A19B6925; Thu, 28 Nov 2013 12:31:38 +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 <0MWY00B4AF4QPB10@mmp2.samsung.com>; Thu, 28 Nov 2013 12:31:38 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org, 'Jingoo Han' , 'Thomas Winischhofer' References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 23/28] video: sisfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:31:38 +0900 Message-id: <003f01ceebea$58eec240$0acc46c0$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAntog Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJIsWRmVeSWpSXmKPExsVy+t8zI12pndOCDF7+t7G4vPASq8WJvg+s FusevmCyWL3yMbvF+vm32BxYPV5duMPi0bdlFaPH8RvbmTw+b5LzWDDjP0sAaxSXTUpqTmZZ apG+XQJXxuPTG1gKHrNV7JtwmLWB8QZrFyMnh4SAicS+92uhbDGJC/fWs3UxcnEICSxjlLg5 /Rtc0cmPO9ghEtMZJTr/nWGBcH4xSpzsm8UIUsUmoCbx5cthdhBbREBHYtKiHmaQImaBLYwS Uz8tYwNJCAnYSjy81w3WwClgJ3F84V9mEFtYwE3iyNa3YOtYBFQl3v3fwwRi8wLVHzq8hRHC FpT4MfkeC4jNLKAlsX7ncSYIW15i85q3QHM4gE5Vl3j0VxfiBiOJzh1H2CBKRCT2vXjHCHKP hMA9don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cY k4EencgsJZqcD0xTeSXxhsYmZkaWRmYWRibm5qQJK4nzHmi1DhQSSE8sSc1OTS1ILYLZwsTB KdXAaKqb/N1krUzYJa91FmHfz0mp2vd2XGr9yPNi4Yufxke2LiuSk9s9f1/wuZsfdR8sD032 27dDeVG64jaVH/HLXW/vv/DFT0vYx5bjzhwGv/zyr4mC3O6LpOPz9adLi/e5C8YmfXKaeoZ3 saDNXAfh2oUc0yLvmqruLT6yM/3WnIoVH1R5o5YlKbEUZyQaajEXFScCAGiASqFJAwAA 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/sis/sis_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/sis/sis_main.h b/drivers/video/sis/sis_main.h index 32e23c2..91dd282 100644 --- a/drivers/video/sis/sis_main.h +++ b/drivers/video/sis/sis_main.h @@ -113,7 +113,7 @@ static struct sisfb_chip_info { { XGI_40, SIS_315_VGA, 1, HW_CURSOR_AREA_SIZE_315 * 4, SIS_CRT2_WENABLE_315, "XGI V3XT/V5/V8" }, }; -static struct pci_device_id sisfb_pci_table[] = { +static DEFINE_PCI_DEVICE_TABLE(sisfb_pci_table) = { #ifdef CONFIG_FB_SIS_300 { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_540_VGA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},