aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorJia Hongtao <B38951@freescale.com>2012-09-18 05:57:48 -0400
committerKumar Gala <galak@kernel.crashing.org>2012-09-19 09:41:46 -0400
commit4d56dec5dca496655ef035ef3b80f7c47dc22b77 (patch)
tree9b05e4d789fa64114101302dba1d42534baa68f4 /arch/powerpc/sysdev
parent721c0705906e2ba69907fd2ca837bec6b6a8dbcb (diff)
powerpc/fsl-pci: fix warning when CONFIG_SWIOTLB is disabled
Fix the following warning: arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pci_probe': arch/powerpc/sysdev/fsl_pci.c:867:25: error: unused variable 'hose' Signed-off-by: Jia Hongtao <B38951@freescale.com> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r--arch/powerpc/sysdev/fsl_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c
index 2ff35765a6ad..3d6f4d8b2e90 100644
--- a/arch/powerpc/sysdev/fsl_pci.c
+++ b/arch/powerpc/sysdev/fsl_pci.c
@@ -864,7 +864,9 @@ static int __devinit fsl_pci_probe(struct platform_device *pdev)
864{ 864{
865 int ret; 865 int ret;
866 struct device_node *node; 866 struct device_node *node;
867#ifdef CONFIG_SWIOTLB
867 struct pci_controller *hose; 868 struct pci_controller *hose;
869#endif
868 870
869 node = pdev->dev.of_node; 871 node = pdev->dev.of_node;
870 ret = fsl_add_bridge(node, fsl_pci_primary == node); 872 ret = fsl_add_bridge(node, fsl_pci_primary == node);