Skip to content

Commit

Permalink
PCI: update for owner removal from struct device_attribute
Browse files Browse the repository at this point in the history
Fixes the build.

Acked-by: Guenter Roeck <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
  • Loading branch information
sfrothwell authored and jbarnes993 committed Aug 4, 2010
1 parent b879743 commit 763e9db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pci/pci-label.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 763e9db

Please sign in to comment.