2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00

[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>
This commit is contained in:
Muli Ben-Yehuda 2006-09-26 10:52:31 +02:00 committed by Andi Kleen
parent 871b17008e
commit a4fc520a0f

View File

@ -784,13 +784,11 @@ static inline unsigned int __init locate_register_space(struct pci_dev *dev)
return address;
}
static int __init calgary_init_one_nontraslated(struct pci_dev *dev)
static void __init calgary_init_one_nontraslated(struct pci_dev *dev)
{
pci_dev_get(dev);
dev->sysdata = NULL;
dev->bus->self = dev;
return 0;
}
static int __init calgary_init_one(struct pci_dev *dev)