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

[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,