From: Stephen Rothwell Date: Wed, 4 Aug 2010 04:25:31 +0000 (+1000) Subject: PCI: update for owner removal from struct device_attribute X-Git-Tag: firefly_0821_release~9833^2~1253^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=763e9db9994e27a7d2cb3701c8a097a867d0e0b4;p=firefly-linux-kernel-4.4.55.git PCI: update for owner removal from struct device_attribute Fixes the build. Acked-by: Guenter Roeck Signed-off-by: Stephen Rothwell Signed-off-by: Jesse Barnes --- 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, } 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, };