[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20061011152905.f0c5c067.akpm@osdl.org>
Date: Wed, 11 Oct 2006 15:29:05 -0700
From: Andrew Morton <akpm@...l.org>
To: Jeff Garzik <jeff@...zik.org>
Cc: linux-pcmcia@...ts.infradead.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] PCMCIA: handle sysfs, PCI errors
Some of these were already fixed in pcmcia-ds-must_check-fixes.patch and
i82092-wire-up-errors-from-pci_register_driver.patch:
static int __init init_pcmcia_bus(void)
{
int ret;
spin_lock_init(&pcmcia_dev_list_lock);
ret = bus_register(&pcmcia_bus_type);
if (ret < 0) {
printk(KERN_WARNING "pcmcia: bus_register error: %d\n", ret);
return ret;
}
ret = class_interface_register(&pcmcia_bus_interface);
if (ret < 0) {
printk(KERN_WARNING
"pcmcia: class_interface_register error: %d\n", ret);
bus_unregister(&pcmcia_bus_type);
return ret;
}
pcmcia_setup_ioctl();
return 0;
}
and
static int i82092aa_module_init(void)
{
return pci_register_driver(&i82092aa_pci_drv);
}
I queued the rest for Dominik-spamming.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists