/* This is it. Register the PCI driver information for the cards we control the OS will call our registered routines when it finds one of our cards.  */
static int __init hpsa_init(void)
/* This is it. Register the PCI driver information for the cards we control the OS will call our registered routines when it finds one of our cards.  */
static int __init hpsa_init(void)
{
	int err;
	hpsa_scan_thread = kthread_run(hpsa_scan_func, NULL, "hpsa_scan");
	if (IS_ERR(hpsa_scan_thread)) {
		err = PTR_ERR(hpsa_scan_thread);
		return -ENODEV;
	}
	err = pci_register_driver(&hpsa_pci_driver);
	if (err)
		kthread_stop(hpsa_scan_thread);
	return err;
}