aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMuli Ben-Yehuda <muli@il.ibm.com>2006-09-26 04:52:31 -0400
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 04:52:31 -0400
commita4fc520a0ff92810eea46d74bf742ef73849302e (patch)
tree22cc8eceaa7442dedf2b9d11259ab54fb734db47 /arch
parent871b17008e93d7e96f96829ce5f0393c9902d25b (diff)
[PATCH] Calgary IOMMU: calgary_init_one_nontraslated() can return void
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com> Signed-off-by: Jon Mason <jdmason@us.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/kernel/pci-calgary.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/pci-calgary.c b/arch/x86_64/kernel/pci-calgary.c
index 7302834718c8..f541fb564d92 100644
--- a/arch/x86_64/kernel/pci-calgary.c
+++ b/arch/x86_64/kernel/pci-calgary.c
@@ -784,13 +784,11 @@ static inline unsigned int __init locate_register_space(struct pci_dev *dev)
784 return address; 784 return address;
785} 785}
786 786
787static int __init calgary_init_one_nontraslated(struct pci_dev *dev) 787static void __init calgary_init_one_nontraslated(struct pci_dev *dev)
788{ 788{
789 pci_dev_get(dev); 789 pci_dev_get(dev);
790 dev->sysdata = NULL; 790 dev->sysdata = NULL;
791 dev->bus->self = dev; 791 dev->bus->self = dev;
792
793 return 0;
794} 792}
795 793
796static int __init calgary_init_one(struct pci_dev *dev) 794static int __init calgary_init_one(struct pci_dev *dev)