From patchwork Thu Nov 28 03:17: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: 3251451 Return-Path: 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 9E2B79F3A0 for ; Thu, 28 Nov 2013 03:17:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9E792053F for ; Thu, 28 Nov 2013 03:17:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B7B0120534 for ; Thu, 28 Nov 2013 03:17:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758697Ab3K1DRY (ORCPT ); Wed, 27 Nov 2013 22:17:24 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:60665 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758460Ab3K1DRX (ORCPT ); Wed, 27 Nov 2013 22:17:23 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWY00FUPEGYS330@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 28 Nov 2013 12:17:22 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 4C.F5.18608.2C5B6925; Thu, 28 Nov 2013 12:17:22 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-51-5296b5c225c5 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id B4.78.32308.2C5B6925; Thu, 28 Nov 2013 12:17:22 +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 <0MWY00G2LEGY2LO0@mmp1.samsung.com>; Thu, 28 Nov 2013 12:17:22 +0900 (KST) From: Jingoo Han To: 'Jingoo Han' , 'Tomi Valkeinen' Cc: 'Jean-Christophe PLAGNIOL-VILLARD' , linux-fbdev@vger.kernel.org References: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> In-reply-to: <002901ceebe7$c3eec160$4bcc4420$%han@samsung.com> Subject: [PATCH 04/28] video: carminefb: use DEFINE_PCI_DEVICE_TABLE macro Date: Thu, 28 Nov 2013 12:17:22 +0900 Message-id: <002c01ceebe8$5a5da670$0f18f350$%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: Ac7r58PUzO8IUFQ9Qx2mWpwvisZl0wAAHidw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsVy+t8zI91DW6cFGUy6JmZxeeElVosTfR9Y LdY9fMFksX7+LTYHFo9XF+6wePRtWcXocfzGdiaPz5vkAliiuGxSUnMyy1KL9O0SuDJufv7C UrCXtWLT4qksDYynWLoYOTkkBEwk5jdeYIawxSQu3FvP1sXIxSEksIxR4uTPK6xdjBxgRb8u hUPEFzFKvJn3ggXC+cUocXXpeiaQbjYBNYkvXw6zg9giAgESW7+tZgOxmQViJTr2PQarERKw lXh4r5sRxOYUsJM4vvAv2GZhAS+Jc9/6wS5iEVCVmL9iK5jNC1Q/sfUSK4QtKPFj8j0WiJla Eut3HmeCsOUlNq95ywxxqLrEo7+6ECcYSUx5Mo0ZokREYt+Ld4wgN0sInGOXOPqzmRFil4DE t8mHWCB6ZSU2HYAGhK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zW1ILUIZgsTB6dUAyP7i9Vv+U40G8zq WD6bb09lu7SuxcnARZ0Ji58mPTkedmcTt9p5jxmMzXN8bf4snLHTosEzybDqdbq0ySPHrF9/ WXhfFxfbLa6p3cec9W3mh4jgWfp6Sb1xh/I2VRmv2/+BTWhmsaVS5N6Uwx/vH/iX7nKQubO3 g2ln0il135cMkqZ5L1ZucFNiKc5INNRiLipOBADjx1S9PQMAAA== 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/carminefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/carminefb.c b/drivers/video/carminefb.c index 65f7c15..2eb9a35 100644 --- a/drivers/video/carminefb.c +++ b/drivers/video/carminefb.c @@ -750,7 +750,7 @@ static void carminefb_remove(struct pci_dev *dev) } #define PCI_VENDOR_ID_FUJITU_LIMITED 0x10cf -static struct pci_device_id carmine_devices[] = { +static DEFINE_PCI_DEVICE_TABLE(carmine_devices) = { { PCI_DEVICE(PCI_VENDOR_ID_FUJITU_LIMITED, 0x202b)}, {0, 0, 0, 0, 0, 0, 0}