Commit 763e9db9 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Jesse Barnes

PCI: update for owner removal from struct device_attribute

Fixes the build.
Acked-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent b879743f
...@@ -97,12 +97,12 @@ smbiosinstance_show(struct device *dev, ...@@ -97,12 +97,12 @@ smbiosinstance_show(struct device *dev,
} }
static struct device_attribute smbios_attr_label = { static struct device_attribute smbios_attr_label = {
.attr = {.name = "label", .mode = 0444, .owner = THIS_MODULE}, .attr = {.name = "label", .mode = 0444},
.show = smbioslabel_show, .show = smbioslabel_show,
}; };
static struct device_attribute smbios_attr_instance = { static struct device_attribute smbios_attr_instance = {
.attr = {.name = "index", .mode = 0444, .owner = THIS_MODULE}, .attr = {.name = "index", .mode = 0444},
.show = smbiosinstance_show, .show = smbiosinstance_show,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment