From patchwork Thu May 10 10:44:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiroo Matsumoto X-Patchwork-Id: 158242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BF6CCB6FA8 for ; Thu, 10 May 2012 20:41:28 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750899Ab2EJKlZ (ORCPT ); Thu, 10 May 2012 06:41:25 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:40117 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457Ab2EJKlY (ORCPT ); Thu, 10 May 2012 06:41:24 -0400 Received: from m3.gw.fujitsu.co.jp (unknown [10.0.50.73]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id 710113EE0AE for ; Thu, 10 May 2012 19:41:23 +0900 (JST) Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 59EF845DE9E for ; Thu, 10 May 2012 19:41:23 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id 4116645DE7E for ; Thu, 10 May 2012 19:41:23 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 352DB1DB803C for ; Thu, 10 May 2012 19:41:23 +0900 (JST) Received: from m003.s.css.fujitsu.com (m003.s.css.fujitsu.com [10.23.4.33]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id E89D11DB8038 for ; Thu, 10 May 2012 19:41:22 +0900 (JST) Received: from m003.css.fujitsu.com (m003 [127.0.0.1]) by m003.s.css.fujitsu.com (Postfix) with ESMTP id B990650EC16 for ; Thu, 10 May 2012 19:41:22 +0900 (JST) Received: from [127.0.0.1] (ubi135.utsfd.cs.fujitsu.co.jp [10.24.19.135]) by m003.s.css.fujitsu.com (Postfix) with ESMTP id 8546250EC10 for ; Thu, 10 May 2012 19:41:22 +0900 (JST) X-SecurityPolicyCheck: OK by SHieldMailChecker v1.5.1 Message-ID: <4FAB9BFF.4080802@jp.fujitsu.com> Date: Thu, 10 May 2012 19:44:15 +0900 From: Hiroo Matsumoto User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: linux-pci@vger.kernel.org Subject: [PATCH] microblaze/pci: Fix compile error Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Hi There is a compile error for microblaze pci because io_offset is not declared. This patch adds declaration of io_offset. * Compile error message arch/microblaze/pci/pci-common.c: In function 'pcibios_setup_phb_resources': arch/microblaze/pci/pci-common.c:1525: error: 'io_offset' undeclared (first use in this function) arch/microblaze/pci/pci-common.c:1525: error: (Each undeclared identifier is reported only once arch/microblaze/pci/pci-common.c:1525: error: for each function it appears in.) make[1]: *** [arch/microblaze/pci/pci-common.o] Error 1 make: *** [arch/microblaze/pci] Error 2 Regards. Hiroo MATSUMOTO Signed-off-by: Hiroo MATSUMOTO diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index 85f2ac1..90f8238 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c @@ -1515,6 +1515,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) static void __devinit pcibios_setup_phb_resources(struct pci_controller *hose, struct list_head *resources) { + unsigned long io_offset; struct resource *res; int i;