|
@@ -302,12 +302,13 @@ static struct pci_raw_ops pci_olpc_conf = {
|
|
.write = pci_olpc_write,
|
|
.write = pci_olpc_write,
|
|
};
|
|
};
|
|
|
|
|
|
-void __init pci_olpc_init(void)
|
|
|
|
|
|
+int __init pci_olpc_init(void)
|
|
{
|
|
{
|
|
if (!machine_is_olpc() || olpc_has_vsa())
|
|
if (!machine_is_olpc() || olpc_has_vsa())
|
|
- return;
|
|
|
|
|
|
+ return -ENODEV;
|
|
|
|
|
|
printk(KERN_INFO "PCI: Using configuration type OLPC\n");
|
|
printk(KERN_INFO "PCI: Using configuration type OLPC\n");
|
|
raw_pci_ops = &pci_olpc_conf;
|
|
raw_pci_ops = &pci_olpc_conf;
|
|
is_lx = is_geode_lx();
|
|
is_lx = is_geode_lx();
|
|
|
|
+ return 0;
|
|
}
|
|
}
|