Commit ccd7aa0c authored by Laurent Riffard's avatar Laurent Riffard Committed by Greg Kroah-Hartman

[PATCH] Owner field additions to many i2c drivers, 1 of 5

This patch updates .owner field for various struct pci_driver variables.
Signed-off-by: default avatarLaurent Riffard <laurent.riffard@free.fr>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fe3d6a99
...@@ -513,6 +513,7 @@ static void __devexit ali1535_remove(struct pci_dev *dev) ...@@ -513,6 +513,7 @@ static void __devexit ali1535_remove(struct pci_dev *dev)
} }
static struct pci_driver ali1535_driver = { static struct pci_driver ali1535_driver = {
.owner = THIS_MODULE,
.name = "ali1535_smbus", .name = "ali1535_smbus",
.id_table = ali1535_ids, .id_table = ali1535_ids,
.probe = ali1535_probe, .probe = ali1535_probe,
......
...@@ -408,6 +408,7 @@ static struct pci_device_id __devinitdata ali1563_id_table[] = { ...@@ -408,6 +408,7 @@ static struct pci_device_id __devinitdata ali1563_id_table[] = {
MODULE_DEVICE_TABLE (pci, ali1563_id_table); MODULE_DEVICE_TABLE (pci, ali1563_id_table);
static struct pci_driver ali1563_pci_driver = { static struct pci_driver ali1563_pci_driver = {
.owner = THIS_MODULE,
.name = "ali1563_smbus", .name = "ali1563_smbus",
.id_table = ali1563_id_table, .id_table = ali1563_id_table,
.probe = ali1563_probe, .probe = ali1563_probe,
......
...@@ -504,6 +504,7 @@ static void __devexit ali15x3_remove(struct pci_dev *dev) ...@@ -504,6 +504,7 @@ static void __devexit ali15x3_remove(struct pci_dev *dev)
} }
static struct pci_driver ali15x3_driver = { static struct pci_driver ali15x3_driver = {
.owner = THIS_MODULE,
.name = "ali15x3_smbus", .name = "ali15x3_smbus",
.id_table = ali15x3_ids, .id_table = ali15x3_ids,
.probe = ali15x3_probe, .probe = ali15x3_probe,
......
...@@ -401,6 +401,7 @@ static void __devexit amd756_remove(struct pci_dev *dev) ...@@ -401,6 +401,7 @@ static void __devexit amd756_remove(struct pci_dev *dev)
} }
static struct pci_driver amd756_driver = { static struct pci_driver amd756_driver = {
.owner = THIS_MODULE,
.name = "amd756_smbus", .name = "amd756_smbus",
.id_table = amd756_ids, .id_table = amd756_ids,
.probe = amd756_probe, .probe = amd756_probe,
......
...@@ -392,6 +392,7 @@ static void __devexit amd8111_remove(struct pci_dev *dev) ...@@ -392,6 +392,7 @@ static void __devexit amd8111_remove(struct pci_dev *dev)
} }
static struct pci_driver amd8111_driver = { static struct pci_driver amd8111_driver = {
.owner = THIS_MODULE,
.name = "amd8111_smbus2", .name = "amd8111_smbus2",
.id_table = amd8111_ids, .id_table = amd8111_ids,
.probe = amd8111_probe, .probe = amd8111_probe,
......
...@@ -155,6 +155,7 @@ static void __devexit hydra_remove(struct pci_dev *dev) ...@@ -155,6 +155,7 @@ static void __devexit hydra_remove(struct pci_dev *dev)
static struct pci_driver hydra_driver = { static struct pci_driver hydra_driver = {
.owner = THIS_MODULE,
.name = "hydra_smbus", .name = "hydra_smbus",
.id_table = hydra_ids, .id_table = hydra_ids,
.probe = hydra_probe, .probe = hydra_probe,
......
...@@ -568,6 +568,7 @@ static void __devexit i801_remove(struct pci_dev *dev) ...@@ -568,6 +568,7 @@ static void __devexit i801_remove(struct pci_dev *dev)
} }
static struct pci_driver i801_driver = { static struct pci_driver i801_driver = {
.owner = THIS_MODULE,
.name = "i801_smbus", .name = "i801_smbus",
.id_table = i801_ids, .id_table = i801_ids,
.probe = i801_probe, .probe = i801_probe,
......
...@@ -232,6 +232,7 @@ static void __devexit i810_remove(struct pci_dev *dev) ...@@ -232,6 +232,7 @@ static void __devexit i810_remove(struct pci_dev *dev)
} }
static struct pci_driver i810_driver = { static struct pci_driver i810_driver = {
.owner = THIS_MODULE,
.name = "i810_smbus", .name = "i810_smbus",
.id_table = i810_ids, .id_table = i810_ids,
.probe = i810_probe, .probe = i810_probe,
......
...@@ -356,6 +356,7 @@ static void __devexit nforce2_remove(struct pci_dev *dev) ...@@ -356,6 +356,7 @@ static void __devexit nforce2_remove(struct pci_dev *dev)
} }
static struct pci_driver nforce2_driver = { static struct pci_driver nforce2_driver = {
.owner = THIS_MODULE,
.name = "nForce2_smbus", .name = "nForce2_smbus",
.id_table = nforce2_ids, .id_table = nforce2_ids,
.probe = nforce2_probe, .probe = nforce2_probe,
......
...@@ -462,6 +462,7 @@ static void __devexit piix4_remove(struct pci_dev *dev) ...@@ -462,6 +462,7 @@ static void __devexit piix4_remove(struct pci_dev *dev)
} }
static struct pci_driver piix4_driver = { static struct pci_driver piix4_driver = {
.owner = THIS_MODULE,
.name = "piix4_smbus", .name = "piix4_smbus",
.id_table = piix4_ids, .id_table = piix4_ids,
.probe = piix4_probe, .probe = piix4_probe,
......
...@@ -308,6 +308,7 @@ static struct pci_device_id prosavage_pci_tbl[] = { ...@@ -308,6 +308,7 @@ static struct pci_device_id prosavage_pci_tbl[] = {
MODULE_DEVICE_TABLE (pci, prosavage_pci_tbl); MODULE_DEVICE_TABLE (pci, prosavage_pci_tbl);
static struct pci_driver prosavage_driver = { static struct pci_driver prosavage_driver = {
.owner = THIS_MODULE,
.name = "prosavage_smbus", .name = "prosavage_smbus",
.id_table = prosavage_pci_tbl, .id_table = prosavage_pci_tbl,
.probe = prosavage_probe, .probe = prosavage_probe,
......
...@@ -179,6 +179,7 @@ static void __devexit savage4_remove(struct pci_dev *dev) ...@@ -179,6 +179,7 @@ static void __devexit savage4_remove(struct pci_dev *dev)
} }
static struct pci_driver savage4_driver = { static struct pci_driver savage4_driver = {
.owner = THIS_MODULE,
.name = "savage4_smbus", .name = "savage4_smbus",
.id_table = savage4_ids, .id_table = savage4_ids,
.probe = savage4_probe, .probe = savage4_probe,
......
...@@ -398,6 +398,7 @@ static void __devexit sis5595_remove(struct pci_dev *dev) ...@@ -398,6 +398,7 @@ static void __devexit sis5595_remove(struct pci_dev *dev)
} }
static struct pci_driver sis5595_driver = { static struct pci_driver sis5595_driver = {
.owner = THIS_MODULE,
.name = "sis5595_smbus", .name = "sis5595_smbus",
.id_table = sis5595_ids, .id_table = sis5595_ids,
.probe = sis5595_probe, .probe = sis5595_probe,
......
...@@ -496,6 +496,7 @@ static void __devexit sis630_remove(struct pci_dev *dev) ...@@ -496,6 +496,7 @@ static void __devexit sis630_remove(struct pci_dev *dev)
static struct pci_driver sis630_driver = { static struct pci_driver sis630_driver = {
.owner = THIS_MODULE,
.name = "sis630_smbus", .name = "sis630_smbus",
.id_table = sis630_ids, .id_table = sis630_ids,
.probe = sis630_probe, .probe = sis630_probe,
......
...@@ -329,6 +329,7 @@ static void __devexit sis96x_remove(struct pci_dev *dev) ...@@ -329,6 +329,7 @@ static void __devexit sis96x_remove(struct pci_dev *dev)
} }
static struct pci_driver sis96x_driver = { static struct pci_driver sis96x_driver = {
.owner = THIS_MODULE,
.name = "sis96x_smbus", .name = "sis96x_smbus",
.id_table = sis96x_ids, .id_table = sis96x_ids,
.probe = sis96x_probe, .probe = sis96x_probe,
......
...@@ -159,6 +159,7 @@ static void __devexit vt586b_remove(struct pci_dev *dev) ...@@ -159,6 +159,7 @@ static void __devexit vt586b_remove(struct pci_dev *dev)
static struct pci_driver vt586b_driver = { static struct pci_driver vt586b_driver = {
.owner = THIS_MODULE,
.name = "vt586b_smbus", .name = "vt586b_smbus",
.id_table = vt586b_ids, .id_table = vt586b_ids,
.probe = vt586b_probe, .probe = vt586b_probe,
......
...@@ -439,6 +439,7 @@ static struct pci_device_id vt596_ids[] = { ...@@ -439,6 +439,7 @@ static struct pci_device_id vt596_ids[] = {
MODULE_DEVICE_TABLE(pci, vt596_ids); MODULE_DEVICE_TABLE(pci, vt596_ids);
static struct pci_driver vt596_driver = { static struct pci_driver vt596_driver = {
.owner = THIS_MODULE,
.name = "vt596_smbus", .name = "vt596_smbus",
.id_table = vt596_ids, .id_table = vt596_ids,
.probe = vt596_probe, .probe = vt596_probe,
......
...@@ -225,6 +225,7 @@ static void __devexit voodoo3_remove(struct pci_dev *dev) ...@@ -225,6 +225,7 @@ static void __devexit voodoo3_remove(struct pci_dev *dev)
} }
static struct pci_driver voodoo3_driver = { static struct pci_driver voodoo3_driver = {
.owner = THIS_MODULE,
.name = "voodoo3_smbus", .name = "voodoo3_smbus",
.id_table = voodoo3_ids, .id_table = voodoo3_ids,
.probe = voodoo3_probe, .probe = voodoo3_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment