Skip to content

Commit 763e9db

Browse files
sfrothwelljbarnes993
authored andcommitted
PCI: update for owner removal from struct device_attribute
Fixes the build. Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
1 parent b879743 commit 763e9db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/pci/pci-label.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ smbiosinstance_show(struct device *dev,
9797
}
9898

9999
static struct device_attribute smbios_attr_label = {
100-
.attr = {.name = "label", .mode = 0444, .owner = THIS_MODULE},
100+
.attr = {.name = "label", .mode = 0444},
101101
.show = smbioslabel_show,
102102
};
103103

104104
static struct device_attribute smbios_attr_instance = {
105-
.attr = {.name = "index", .mode = 0444, .owner = THIS_MODULE},
105+
.attr = {.name = "index", .mode = 0444},
106106
.show = smbiosinstance_show,
107107
};
108108

0 commit comments

Comments
 (0)