mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
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>
This commit is contained in:
parent
721c070590
commit
4d56dec5dc
1 changed files with 2 additions and 0 deletions
|
@ -864,7 +864,9 @@ static int __devinit fsl_pci_probe(struct platform_device *pdev)
|
|||
{
|
||||
int ret;
|
||||
struct device_node *node;
|
||||
#ifdef CONFIG_SWIOTLB
|
||||
struct pci_controller *hose;
|
||||
#endif
|
||||
|
||||
node = pdev->dev.of_node;
|
||||
ret = fsl_add_bridge(node, fsl_pci_primary == node);
|
||||
|
|
Loading…
Add table
Reference in a new issue