Re: [PATCH] microblaze/pci: Fix compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 10, 2012 at 4:44 AM, Hiroo Matsumoto
<matsumoto.hiroo@xxxxxxxxxxxxxx> wrote:
> 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 <matsumoto.hiroo@xxxxxxxxxxxxxx>
> 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;
>
>

Applied to my "next" branch, thanks.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux