2005-11-13 16:30:54

by Paul Fulghum

[permalink] [raw]
Subject: [PATCH] fix synclink_gt compile for latest struct pci_driver changes

This fixes the synclink_gt driver so it compiles with
the latest struct pci_driver changes that remove the
owner field.

Signed-off-by: Paul Fulghum <[email protected]>

--- linux-2.6.15-rc1/drivers/char/synclink_gt.c 2005-11-12 18:38:16.000000000 -0600
+++ linux-2.6.15-rc1-mg/drivers/char/synclink_gt.c 2005-11-12 18:38:35.000000000 -0600
@@ -111,7 +111,6 @@ MODULE_DEVICE_TABLE(pci, pci_table);
static int init_one(struct pci_dev *dev,const struct pci_device_id *ent);
static void remove_one(struct pci_dev *dev);
static struct pci_driver pci_driver = {
- .owner = THIS_MODULE,
.name = "synclink_gt",
.id_table = pci_table,
.probe = init_one,