mips: pci: Add ifdef around pci_proc_domain
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Fri, 12 Dec 2014 12:45:39 +0000 (12:45 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 20 Feb 2015 12:16:14 +0000 (13:16 +0100)
commit6fb8a163fcb2cc2ee073a1ffda33e402b1092548
tree5b19b5d45b8cccd19bc3ac5fa0331b3726982c4f
parent69e4e63ec816a7e22cc3aa14bc7ef4ac734d370c
mips: pci: Add ifdef around pci_proc_domain

Without these, there are multiple definitions of pci_proc_domain()
and pci_domain_nr() if linux/pci.h and asm/pci.h are included.

Add #ifdefs around them

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Cc: Markos.Chandras@imgtec.com
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8670/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/pci.h