PCI: update for owner removal from struct device_attribute

Fixes the build.

Acked-by: Guenter Roeck <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
This commit is contained in:
Stephen Rothwell 2010-08-04 14:25:31 +10:00 • committed by Jesse Barnes
commit 763e9db999

View file

@ -97,12 +97,12 @@ smbiosinstance_show(struct device *dev,
}
static struct device_attribute smbios_attr_label = {
.attr = {.name = "label", .mode = 0444, .owner = THIS_MODULE},
.attr = {.name = "label", .mode = 0444},
.show = smbioslabel_show,
};
static struct device_attribute smbios_attr_instance = {
.attr = {.name = "index", .mode = 0444, .owner = THIS_MODULE},
.attr = {.name = "index", .mode = 0444},
.show = smbiosinstance_show,
};