diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2010-08-04 00:25:31 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-08-04 17:23:55 -0400 |
commit | 763e9db9994e27a7d2cb3701c8a097a867d0e0b4 (patch) | |
tree | b5189e96d819445cccb05f7d234e99897bce94c9 /drivers/pci/pci-label.c | |
parent | b879743f26cb029e41ffe865fb939cfc6fa9be88 (diff) |
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>
Diffstat (limited to 'drivers/pci/pci-label.c')
-rw-r--r-- | drivers/pci/pci-label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c index 111500e86f94..90c0a729cd3a 100644 --- a/drivers/pci/pci-label.c +++ b/drivers/pci/pci-label.c | |||
@@ -97,12 +97,12 @@ smbiosinstance_show(struct device *dev, | |||
97 | } | 97 | } |
98 | 98 | ||
99 | static struct device_attribute smbios_attr_label = { | 99 | static struct device_attribute smbios_attr_label = { |
100 | .attr = {.name = "label", .mode = 0444, .owner = THIS_MODULE}, | 100 | .attr = {.name = "label", .mode = 0444}, |
101 | .show = smbioslabel_show, | 101 | .show = smbioslabel_show, |
102 | }; | 102 | }; |
103 | 103 | ||
104 | static struct device_attribute smbios_attr_instance = { | 104 | static struct device_attribute smbios_attr_instance = { |
105 | .attr = {.name = "index", .mode = 0444, .owner = THIS_MODULE}, | 105 | .attr = {.name = "index", .mode = 0444}, |
106 | .show = smbiosinstance_show, | 106 | .show = smbiosinstance_show, |
107 | }; | 107 | }; |
108 | 108 | ||