]> Git Repo - linux.git/commitdiff
PCI: update for owner removal from struct device_attribute
authorStephen Rothwell <[email protected]>
Wed, 4 Aug 2010 04:25:31 +0000 (14:25 +1000)
committerJesse Barnes <[email protected]>
Wed, 4 Aug 2010 21:23:55 +0000 (14:23 -0700)
Fixes the build.

Acked-by: Guenter Roeck <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
drivers/pci/pci-label.c

index 111500e86f94a7f742d69cb91491d052c516d046..90c0a729cd3aeed726763a11a24c0dec3c751c5a 100644 (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,
 };
 
This page took 0.045442 seconds and 4 git commands to generate.