From patchwork Fri Oct 4 08:51:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seungwon Jeon X-Patchwork-Id: 2987511 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 B10BF9F288 for ; Fri, 4 Oct 2013 08:51:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ED19B20445 for ; Fri, 4 Oct 2013 08:51:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 58A1E20426 for ; Fri, 4 Oct 2013 08:51:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751805Ab3JDIvt (ORCPT ); Fri, 4 Oct 2013 04:51:49 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:50070 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751325Ab3JDIvs (ORCPT ); Fri, 4 Oct 2013 04:51:48 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MU400DM3Z8E9DA0@mailout2.samsung.com> for linux-pci@vger.kernel.org; Fri, 04 Oct 2013 17:51:46 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id FE.F8.17682.2A18E425; Fri, 04 Oct 2013 17:51:46 +0900 (KST) X-AuditID: cbfee68e-b7f756d000004512-a7-524e81a2478a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id B4.8C.09055.2A18E425; Fri, 04 Oct 2013 17:51:46 +0900 (KST) Received: from DOTGIHJUN01 ([12.23.118.161]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MU400B8LZAAV120@mmp2.samsung.com>; Fri, 04 Oct 2013 17:51:46 +0900 (KST) From: Seungwon Jeon To: linux-pci@vger.kernel.org Cc: 'Jingoo Han' , 'Bjorn Helgaas' References: <001d01cea3e5$3a07c8b0$ae175a10$%jun@samsung.com> <000f01cea48e$f5fc3160$e1f49420$%han@samsung.com> In-reply-to: Subject: [PATCH] PCI: designware: add missing header guards Date: Fri, 04 Oct 2013 17:51:45 +0900 Message-id: <002001cec0de$f4cd48d0$de67da70$%jun@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac6j5TcVTGQM4aoCSAqjP+FWpn+ezgAqVEiAAAiB6BAHB2a/cA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHIsWRmVeSWpSXmKPExsVy+t8zI91FjX5BBocfq1ksacqwuLzwEqvF 2XnH2RyYPRZsKvXo27KK0ePzJrkA5igum5TUnMyy1CJ9uwSujImPcwvWsldsP/qZuYFxClsX IyeHhICJxIJpy6BsMYkL99aD2UICyxgl/kwyhqk5u/IMUJwLKD6dUaLn1iEo5w+jxM+ZP5lA qtgEtCT+vnnDDGKLCMhKfLy8B2wSs4CvxPWVB1ghphZKfJzzGayGU4BHYt2fTjBbWMBaovPR Z7AaFgFViamnf4LZvAK2Et3bOtkhbEGJH5PvsXQxcgDNVJeYMiUXYry8xOY1b5lBwhJA4Ud/ dSEucJJY1HmHEaJERGLfi3eMICdLCGxjl5h/5hIjxCoBiW+TD7FA9MpKbDrADPGvpMTBFTdY JjBKzEKyeBbC4llIFs9CsmEBI8sqRtHUguS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bTBTfvS78fKLXnOLjc3pnax3TcHpwTP9Z+fSOJ68bb1mWl+nGd9S8aOvzPM+Y0lsl 7zmJ88nvJjPFp7J2PL+ev7uje8XrsMX+srr2vq2py6vfy/51iYmqkbobpSnD07HktptENqMS S3FGoqEWc1FxIgDL8TCkLwMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.6 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 Added missing header guards against the redundant inclusion. Signed-off-by: Seungwon Jeon --- drivers/pci/host/pcie-designware.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/pci/host/pcie-designware.h b/drivers/pci/host/pcie-designware.h index faccbbf..0b685b5 100644 --- a/drivers/pci/host/pcie-designware.h +++ b/drivers/pci/host/pcie-designware.h @@ -11,6 +11,9 @@ * published by the Free Software Foundation. */ +#ifndef _PCIE_DESIGNWARE_H_ +#define _PCIE_DESIGNWARE_H_ + struct pcie_port_info { u32 cfg0_size; u32 cfg1_size; @@ -77,3 +80,5 @@ int dw_pcie_host_init(struct pcie_port *pp); int dw_pcie_setup(int nr, struct pci_sys_data *sys); struct pci_bus *dw_pcie_scan_bus(int nr, struct pci_sys_data *sys); int dw_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin); + +#endif /* _PCIE_DESIGNWARE_H_ */