[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5AbTC+82KKTqWXeseahsasx2q=q-4k9u14xyBYhgm2gdQ@mail.gmail.com>
Date: Thu, 14 Feb 2013 20:41:31 -0200
From: Fabio Estevam <festevam@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux-arm-kernel@...ts.infradead.org,
Bjorn Helgaas <bhelgaas@...gle.com>,
Dave Airlie <airlied@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/9] drm/pci: move drm_pcie_get_speed_cap_mask inside
#ifdef CONFIG_PCI
On Thu, Feb 14, 2013 at 8:26 PM, Arnd Bergmann <arnd@...db.de> wrote:
> commit dd66cc2e1 "drm/pci: Use PCI Express Capability accessors"
> introduced the use of the pcie_capability_read_dword function
> in the drm_pci code, which is only defined when PCI is enabled.
> While most of the file is already hidden away behind an #ifdef
> CONFIG_PCI, this function is not, and that now causes a link
> error in the ARM imx_v6_v7_defconfig configuration.
>
> Moving the function into the #ifdef section makes this work
> again on IMX, which does not have PCI support, and should
> have no impact on platforms that do.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Cc: Bjorn Helgaas <bhelgaas@...gle.com>
> Cc: Dave Airlie <airlied@...hat.com>
Bjorn has already sent a fix for this problem:
http://www.spinics.net/lists/arm-kernel/msg224425.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists