Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3542adcb authored by Ju, Seokmann's avatar Ju, Seokmann Committed by
Browse files

[SCSI] megaraid_legacy: kobject_register failure



Attached patch fixes problem that cause kobject_register failure
during loading.  Kobject_register would fail when there are more than
1 module with same module name.  This patch will change module name of
megaraid_legacy from 'megaraid' to 'megaraid_legacy'.

Signed-Off-by: default avatarSeokmann Ju <seokmann.ju@lsil.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 4733804c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -5049,7 +5049,7 @@ static struct pci_device_id megaraid_pci_tbl[] = {
MODULE_DEVICE_TABLE(pci, megaraid_pci_tbl);
MODULE_DEVICE_TABLE(pci, megaraid_pci_tbl);


static struct pci_driver megaraid_pci_driver = {
static struct pci_driver megaraid_pci_driver = {
	.name		= "megaraid",
	.name		= "megaraid_legacy",
	.id_table	= megaraid_pci_tbl,
	.id_table	= megaraid_pci_tbl,
	.probe		= megaraid_probe_one,
	.probe		= megaraid_probe_one,
	.remove		= __devexit_p(megaraid_remove_one),
	.remove		= __devexit_p(megaraid_remove_one),
+1 −1
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@
#include <linux/mutex.h>
#include <linux/mutex.h>


#define MEGARAID_VERSION	\
#define MEGARAID_VERSION	\
	"v2.00.3 (Release Date: Wed Feb 19 08:51:30 EST 2003)\n"
	"v2.00.4 (Release Date: Thu Feb 9 08:51:30 EST 2006)\n"


/*
/*
 * Driver features - change the values to enable or disable features in the
 * Driver features - change the values to enable or disable features in the