Re: [PATCH] PCI Update for 2.6.2-rc2

From: Greg KH
Date: Thu Jan 29 2004 - 20:46:07 EST


ChangeSet 1.1514, 2004/01/29 14:45:26-08:00, greg@xxxxxxxxx

[PATCH] PCI: add .owner field to the config sysfs file to be "correct"

This is in case others copy this code (which has already happened...)


drivers/pci/pci-sysfs.c | 1 +
1 files changed, 1 insertion(+)


diff -Nru a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c
--- a/drivers/pci/pci-sysfs.c Thu Jan 29 17:24:27 2004
+++ b/drivers/pci/pci-sysfs.c Thu Jan 29 17:24:27 2004
@@ -160,6 +160,7 @@
.attr = {
.name = "config",
.mode = S_IRUGO | S_IWUSR,
+ .owner = THIS_MODULE,
},
.size = 256,
.read = pci_read_config,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/