From patchwork Sat Oct 5 00:31:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2990581 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 0F0179F170 for ; Sat, 5 Oct 2013 00:32:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B2CE202AE for ; Sat, 5 Oct 2013 00:32:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08E842025B for ; Sat, 5 Oct 2013 00:32:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750988Ab3JEAc1 (ORCPT ); Fri, 4 Oct 2013 20:32:27 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:56281 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196Ab3JEAc0 (ORCPT ); Fri, 4 Oct 2013 20:32:26 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MU600FTF6TBCA30@mailout1.samsung.com> for linux-pci@vger.kernel.org; Sat, 05 Oct 2013 09:31:59 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 57.52.30629.FFD5F425; Sat, 05 Oct 2013 09:31:59 +0900 (KST) X-AuditID: cbfee68d-b7fe86d0000077a5-da-524f5dffd0ab Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6E.A5.09055.FFD5F425; Sat, 05 Oct 2013 09:31:59 +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 <0MU6002AW6TBBM70@mmp2.samsung.com>; Sat, 05 Oct 2013 09:31:59 +0900 (KST) From: Jingoo Han To: 'Bjorn Helgaas' Cc: linux-pci@vger.kernel.org, 'Seungwon Jeon' , 'Jingoo Han' Subject: [PATCH V2] PCI: designware: add missing header guards Date: Sat, 05 Oct 2013 09:31:59 +0900 Message-id: <001801cec162$4d74f770$e85ee650$%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: Ac7BYk1bjxoj2FG2Rbqv+xy/9TfEVQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHIsWRmVeSWpSXmKPExsVy+t8zfd3/sf5BBivfC1ssacqwuLzwEqvF 2XnH2Sw+3L/I7MDisWBTqUffllWMHp83yQUwR3HZpKTmZJalFunbJXBlbL17nr3gO3vFjc0b WRoYr7B1MXJySAiYSDy4PocRwhaTuHBvPVCci0NIYBmjRNuVvcwwRZe+3mGGSExnlFjz9gZU 1S9GifZ3l1hBqtgE1CS+fDnMDmKLCGhKzF6xhamLkYODWSBbovc6P0hYWMBOYlrnLrASFgFV ifs328FaeQVsJXo+T2GHsAUlfky+xwJiMwtoSazfeZwJwpaX2LzmLTPISAkBdYlHf3UhNulJ fGy+A1UiIrHvxTtGkNMkBFaxS9yePQNql4DEt8mHWCB6ZSU2HYD6S1Li4IobLBMYxWYh2TwL yeZZSDbPQrJiASPLKkbR1ILkguKk9CJDveLE3OLSvHS95PzcTYyQuOrdwXj7gPUhxmSg9ROZ pUST84FxmVcSb2hsZmRhamJqbGRuaUaasJI4r1qLdaCQQHpiSW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xj05hft17oXZEYz5G2kkNzUrgSS3FGoqEWc1Fx IgBfmbzyHgMAAA== 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 From: Seungwon Jeon Add missing header guards against the redundant inclusion. Signed-off-by: Seungwon Jeon Signed-off-by: Jingoo Han --- drivers/pci/host/pcie-designware.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/pci/host/pcie-designware.h b/drivers/pci/host/pcie-designware.h index faccbbf..d87fbae 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 */