From patchwork Thu Nov 28 03:13:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 3251421 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 47A6CC045B for ; Thu, 28 Nov 2013 03:13:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 837142061B for ; Thu, 28 Nov 2013 03:13:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A36922061C for ; Thu, 28 Nov 2013 03:13:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754154Ab3K1DNo (ORCPT ); Wed, 27 Nov 2013 22:13:44 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:51013 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758606Ab3K1DNm (ORCPT ); Wed, 27 Nov 2013 22:13:42 -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 <0MWY00IFPE9YZ620@mailout4.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:13:10 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id C6.26.21927.6C4B6925; Thu, 28 Nov 2013 12:13:10 +0900 (KST) X-AuditID: cbfee68d-b7f1a6d0000055a7-be-5296b4c5f1dd Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 75.96.31284.5C4B6925; Thu, 28 Nov 2013 12:13:09 +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 <0MWY00FF2E9XUMK0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:13:09 +0900 (KST) From: Jingoo Han To: 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org, 'Jingoo Han' Subject: [PATCH 01/28] video: arkfb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:13:09 +0900 Message-id: <002901ceebe7$c3eec160$4bcc4420$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0w== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsVy+t8zfd1jW6YFGVyZyGRxeeElVosTfR9Y LdY9fMFksX7+LTYHFo9XF+6wePRtWcXocfzGdiaPz5vkAliiuGxSUnMyy1KL9O0SuDIe9u5l K3jJUvGuMbKB8RNzFyMnh4SAicTtozOgbDGJC/fWs3UxcnEICSxjlJg35QVrFyMHWNGNZk2I +CJGieOP/rCANAgJ/GKUOLHLEsRmE1CT+PLlMDuILSKgIzFpUQ8zSAOzQCOjREv3c1aQhLCA m8S742/BtrEIqEocPbKKDWQBr4CtxKTnASBhXgFBiR+T74HNZxbQkli/8zgThC0vsXkNSCvI PeoSj/7qQqzSk9hwcSEzRImIxL4X7xhB1koI7GKXOPj5N9QqAYlvkw+xQPTKSmw6APWvpMTB FTdYJjCKzUKyeRaSzbOQbJ6FZMUCRpZVjKKpBckFxUnpRYZ6xYm5xaV56XrJ+bmbGCER1ruD 8fYB60OMyUDrJzJLiSbnAyM0ryTe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szV 3zy2/m+Zuv2mwM73ispvRE/P4zH+zBbZflpUt1tJoFijoPvsuj9Xwr1/hbx6tWvPpH+aDTkf daSVWIozEg21mIuKEwGeXCLPIwMAAA== 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/arkfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/arkfb.c b/drivers/video/arkfb.c index a6b29bd..cc9f8a2 100644 --- a/drivers/video/arkfb.c +++ b/drivers/video/arkfb.c @@ -1183,7 +1183,7 @@ fail: /* List of boards that we are trying to support */ -static struct pci_device_id ark_devices[] = { +static DEFINE_PCI_DEVICE_TABLE(ark_devices) = { {PCI_DEVICE(0xEDD8, 0xA099)}, {0, 0, 0, 0, 0, 0, 0} };