proc: Supply PDE attribute setting accessor functions
[deliverable/linux.git] / drivers / zorro / proc.c
index 6d3a602c004b1c908522a39ef654c29eac868afc..1c15ee7456b6cdce859189daaafd9dd7177f831e 100644 (file)
@@ -139,7 +139,7 @@ static int __init zorro_proc_attach_device(unsigned int slot)
                                 &zorro_autocon[slot]);
        if (!entry)
                return -ENOMEM;
-       entry->size = sizeof(struct zorro_dev);
+       proc_set_size(entry, sizeof(struct zorro_dev));
        return 0;
 }
 
This page took 0.029289 seconds and 5 git commands to generate.