From patchwork Wed Oct 14 06:31:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ley Foon Tan X-Patchwork-Id: 7390751 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F283DBEEA4 for ; Wed, 14 Oct 2015 06:33:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9DE1F206E8 for ; Wed, 14 Oct 2015 06:33:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ACCEC20690 for ; Wed, 14 Oct 2015 06:33:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752389AbbJNGcI (ORCPT ); Wed, 14 Oct 2015 02:32:08 -0400 Received: from mail-bn1bon0085.outbound.protection.outlook.com ([157.56.111.85]:37312 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751875AbbJNGcB (ORCPT ); Wed, 14 Oct 2015 02:32:01 -0400 Received: from CO2PR03CA0036.namprd03.prod.outlook.com (10.141.194.163) by BL2PR03MB307.namprd03.prod.outlook.com (10.141.68.21) with Microsoft SMTP Server (TLS) id 15.1.293.16; Wed, 14 Oct 2015 06:31:59 +0000 Received: from BN1AFFO11FD007.protection.gbl (2a01:111:f400:7c10::101) by CO2PR03CA0036.outlook.office365.com (2a01:111:e400:1414::35) with Microsoft SMTP Server (TLS) id 15.1.286.15 via Frontend Transport; Wed, 14 Oct 2015 06:31:59 +0000 Authentication-Results: spf=softfail (sender IP is 66.35.236.227) smtp.mailfrom=altera.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=altera.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning altera.com discourages use of 66.35.236.227 as permitted sender) Received: from sj-itexedge03.altera.priv.altera.com (66.35.236.227) by BN1AFFO11FD007.mail.protection.outlook.com (10.58.52.67) with Microsoft SMTP Server (TLS) id 15.1.293.9 via Frontend Transport; Wed, 14 Oct 2015 06:31:58 +0000 Received: from sj-mail01.altera.com (137.57.1.6) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 13 Oct 2015 23:31:31 -0700 Received: from leyfoon-vm (pg-lftan-l.altera.com [137.57.103.123]) by sj-mail01.altera.com (8.13.7+Sun/8.13.7) with SMTP id t9E6VmG9016066; Tue, 13 Oct 2015 23:31:48 -0700 (PDT) Received: by leyfoon-vm (sSMTP sendmail emulation); Wed, 14 Oct 2015 14:31:54 +0800 From: Ley Foon Tan To: Bjorn Helgaas , Arnd Bergmann CC: , , , Ley Foon Tan , Subject: [PATCH v2 2/4] pci: add include Date: Wed, 14 Oct 2015 14:31:42 +0800 Message-ID: <1444804304-5213-3-git-send-email-lftan@altera.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1444804304-5213-1-git-send-email-lftan@altera.com> References: <1444804304-5213-1-git-send-email-lftan@altera.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD007; 1:f8E+qaH0AOdEeq3jk2sd3DKzFPJ2mKHbfC8kwiSNRqgTKAIZEIE1CM4hPhDxnfClYhSG0SA9Kyk16XkMNQIBab5mhA5CtdEK9EhhSL4gAC5SyROOyUDAsQodgiTy5YzAI9M/DLrsKnVqoDAyYmuKUYKNhvFght17nMFsLC7yZCawFeYqxAA5NgNLurNiH55YVKNvodJgfrrEldXWe9QVy0LXAj6jfcSmxG/6ViFBHV1CBGUiOVBKBP+NXGiNoqxq0VbHIVCe1ZNjblSOZVp+SRXi05r7M168CBQOqLCu+qvsyYPO6CB7SLX7X2dNW3waKZh5X7WHYnlHG+xLC3ecLdUecSv+qpEtMoy1sE4rnkSiKa9jEIylFJO7BjiRcr64 X-Forefront-Antispam-Report: CIP:66.35.236.227; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(189002)(199003)(5007970100001)(6806005)(97736004)(48376002)(11100500001)(50466002)(5003940100001)(189998001)(86362001)(5001770100001)(81156007)(2950100001)(5008740100001)(5001960100002)(36756003)(47776003)(105596002)(106466001)(42186005)(46102003)(19580405001)(50226001)(50986999)(33646002)(19580395003)(64706001)(76176999)(87936001)(92566002)(229853001)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB307; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB307; 2:ybhz01T9Ww3hiaDmujoSXlWoe4b2Oy3FG51ZN1fluDAeX45e+SGmHi5WcBgJAwo/xWuZ31VCXDuQhL0WBD2+pPlrK9gT2SojtZrqYg/AlqWNJH98vhTSfkbcjAz18bpLqvfINKUz1W+cdTi9jLSXnNJ8HCw7b9AnDmY5aXK5pro=; 3:+ffKkQOJotijdBhFjnWdPerUbtsU5N7Zxy52gR16Iyqh7cPLqvwxa8OAZcSDFaey7yqvwovgwVDly0HKQjKK+UbAiaDtlw7EpJCadaSP8Z6de+jqpzUI+q6SVslLijDmo4AgM2J32T94GvhUXIH+dMpHvCxXhYgArHoIyyIGWMMwODm2dfuOLH8q0VrzvxYS1BzgfsKrrqLVfWwM4MxUGfCS7flhKboNlgdIYKyFMUQ=; 25:6xXGx0D/mWchhsSvXB8DudrYc3G7XCetv9vKveXrqvHBtHyQw7XoYIEAlqHuA6NhM0MQfqR8kWRbQQdyAosEIWwCoB5WpzbOnS1dFqkponLixbZyWfm8Xjkh4EpzbvfTg4umMz6v9Al0N3NInRS4whfwon1sv9+mVjjJuppJUkN0rnYFKNuCCB6FNwx5DdcST29EE8JPbzhecZHxXaUQBmfB3Q3DiRoK9N6VeKEVarDYFncKA7AibPWQT6M4qva1; 20:OdRlEN6RpwIvGnZbhjxlsJelmngx3qjlUdbfkaZx2TwEcGzgttbEVN1nu0EOe3KWwVIKygh3DQSCigJjI4KpyVrljcZshrDpzDhI00aDdECIxJd3TCQk7n35xpu+q5xJGrX4is12CRiBpgvQqYJvY3Fm+fyHq0Z/XVWoW/InY+Y= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB307; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(80048183373757); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001); SRVR:BL2PR03MB307; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB307; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB307; 4:TvYOOQ6XAS8VBr7Ir1wiYIHrBAxK7Rl4I/A4e9+xTmSNTsDcbWK1CJZjN6aRXiTfUkTdr5sE+P2MoVLnWtHTMgB/cuegQSq3S+zHIpVCTmH9t/pzQZ5zqFG89bR13cUc1kVhF57GWFfvHgVynl7VmZUO5W7ssLF68BzAR2J7jHvcbTGWN8eAV4hwdZBcvdgbCSSN5PJGK0eMx5iMlsdX8F17ICA6G3t1TbUbogiko0xYxFTBgHTbm+ECLe5MP8/vRDv9qKm8Zh6yDhjJjzQ7pvAOSyCXr4t93eQZZ1ZNBmcgNrV5ZfoXH2owxEDisYGUjsVaMc7PYq35BEC6ZE9bT66hy10xS+l5V5vzND3KfTA= X-Forefront-PRVS: 0729050452 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB307; 23:UjSCw5JMOWOr5BbhnKTeRyO9GwAvyURU2sUDcl4U+s?= =?us-ascii?Q?KRWJeVZhnjEZJLaBM1qxgnu0Ca5veVxnZMe0P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9lvEcjW5juCM+ek38NNVcTQpCuqORZitl4iA8UzFtZd+e?= =?us-ascii?Q?M=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB307; 5:NaXRBpOEf174MXjHoHv3uqhyH1W5AiN+K3sQd84mUSLq/rakC8AFSOrp+JI4Yv3k68NK9iX/znQPg1bkHVsuaq5zRBdTYwtP1H9zyyRAuuz3RJo865Hclq+qCr4XxyE3EkgqsDHHWvQy+Uogz3L9Ug==; 24:p5NQSiXCKXQ2guzazeKxgLzRA8GtskCuvyfLPzZQ2Ost+aFyiRoRqMXGWaWVmcvIi4tV4hdStPj4mLS8upA/r0ji+ib5skOqpzEoe3aMevo=; 20:F+IqpiSZFzr45ks7pMnnZf1ifPCf/pDq9LMFOMmpJEfRwG1dMeoIfDF31VI4hj4/JNKDzm39r4SGZfPAoPYCgNN2Sy6zyXBvr+scSHI3Kxz97GMikSP5WhntmpjhZ+culSuTGTX4BOXZdBLf+qx99lM+F1nWcx8dYgBu/T3Xba0= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2015 06:31:58.3119 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.227]; Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB307 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 Include explicitly, it depends on architecture's pci.h to include it before this. It cause compilation error when we move to asm-generic pci. Signed-off-by: Ley Foon Tan --- drivers/pci/pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 6a9a111..ef2f09e 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include "pci.h"