Skip to contentSkip to conversation

pci_module_init() convertion

PATCH In review Henne 2 participants 2 messages Sep 4, 2006 SCSI

lore
Share & tools
lore

Henne

author
#0 lore raw

PATCH 1/1 pci_module_init() convertion

From: Henrik Kretzschmar <[email protected]>

pci_module_init() convertion in tmscsim.c
This one works on linus tree too.

---

drivers/scsi/tmscsim.c +2 -0
@@ -177,6 +177,8 @@
 *	2.1d  04/05/27	GL	Moved setting of scan_devices to	*
 *				slave_alloc/_configure/_destroy, as	*
 *				suggested by CH.			*
+ *	2.1e  06/09/04	HENKR	change pci_module_init() to		*
+ *				pci_register_driver()			*
 ***********************************************************************/
 

/* DEBUG options */
@@ -245,7 +247,7 @@

#define DC390_BANNER "Tekram DC390/AM53C974"
-#define DC390_VERSION "2.1d 2004-05-27"
+#define DC390_VERSION "2.1e 2006-09-04"

#define PCI_DEVICE_ID_AMD53C974 PCI_DEVICE_ID_AMD_SCSI

@@ -2670,7 +2672,7 @@

		printk (KERN_INFO "DC390: Using safe settings.\n");
	}

- return pci_module_init(&dc390_driver);
+ return pci_register_driver(&dc390_driver);
}

static void __exit dc390_module_exit(void)