From 70d7e12080cf91ba31cc16f78600630bf839a1af Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 28 Jan 2004 22:45:26 -0800 Subject: [PATCH] [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 file changed, 1 insertion(+) diff --git a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c index f9af11a64bfd4..fd94569cd9104 100644 --- a/drivers/pci/pci-sysfs.c +++ b/drivers/pci/pci-sysfs.c @@ -160,6 +160,7 @@ static struct bin_attribute pci_config_attr = { .attr = { .name = "config", .mode = S_IRUGO | S_IWUSR, + .owner = THIS_MODULE, }, .size = 256, .read = pci_read_config, -- 2.53.0