diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-01-29 01:41:54 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-01-29 01:41:54 +0000 |
commit | f969d69ba9f952e5bdd38278e25e26a3e4a61a70 (patch) | |
tree | b3530d803df59d726afaabebc6626987dee1ca05 /drivers/zorro | |
parent | a10ce7ef2066b455d69187643ddf2073bfc4db24 (diff) |
Merge with 2.3.27.
Diffstat (limited to 'drivers/zorro')
-rw-r--r-- | drivers/zorro/proc.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/zorro/proc.c b/drivers/zorro/proc.c index 68a7a380f..325c85edc 100644 --- a/drivers/zorro/proc.c +++ b/drivers/zorro/proc.c @@ -134,13 +134,6 @@ get_zorro_dev_info(char *buf, char **start, off_t pos, int count, int wr) return (count > cnt) ? cnt : count; } -static struct proc_dir_entry proc_zorro_devices = { - PROC_BUS_ZORRO_DEVICES, 7, "devices", - S_IFREG | S_IRUGO, 1, 0, 0, - 0, &proc_array_inode_operations, - get_zorro_dev_info -}; - static struct proc_dir_entry *proc_bus_zorro_dir; static int __init zorro_proc_attach_device(u_int slot) @@ -165,7 +158,7 @@ void __init zorro_proc_init(void) if (!MACH_IS_AMIGA || !AMIGAHW_PRESENT(ZORRO)) return; proc_bus_zorro_dir = create_proc_entry("zorro", S_IFDIR, proc_bus); - proc_register(proc_bus_zorro_dir, &proc_zorro_devices); + create_proc_info_entry("devices", 0, proc_bus_zorro_dir, get_zorro_dev_info); for (slot = 0; slot < zorro_num_autocon; slot++) zorro_proc_attach_device(slot); } |