diff options
| author | David Howells <[email protected]> | 2013-04-11 23:38:51 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2013-05-01 21:29:18 +0000 |
| commit | 271a15eabe094538d958dc68ccfc9c36b699247a (patch) | |
| tree | 586e33f88cece63828614b2a2f0e92007064f024 /drivers/net/irda/vlsi_ir.c | |
| parent | proc: Split kcore bits from linux/procfs.h into linux/kcore.h (diff) | |
| download | kernel-271a15eabe094538d958dc68ccfc9c36b699247a.tar.gz kernel-271a15eabe094538d958dc68ccfc9c36b699247a.zip | |
proc: Supply PDE attribute setting accessor functions
Supply accessor functions to set attributes in proc_dir_entry structs.
The following are supplied: proc_set_size() and proc_set_user().
Signed-off-by: David Howells <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
cc: [email protected]
cc: [email protected]
cc: [email protected]
cc: [email protected]
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/net/irda/vlsi_ir.c')
| -rw-r--r-- | drivers/net/irda/vlsi_ir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c index e22cd4e7017a..5f4758492e4c 100644 --- a/drivers/net/irda/vlsi_ir.c +++ b/drivers/net/irda/vlsi_ir.c @@ -1678,7 +1678,7 @@ vlsi_irda_probe(struct pci_dev *pdev, const struct pci_device_id *id) IRDA_WARNING("%s: failed to create proc entry\n", __func__); } else { - ent->size = 0; + proc_set_size(ent, 0); } idev->proc_entry = ent; } |
