diff options
Diffstat (limited to 'drivers/nubus/proc.c')
-rw-r--r-- | drivers/nubus/proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/nubus/proc.c b/drivers/nubus/proc.c index 208dd12..bb1446b 100644 --- a/drivers/nubus/proc.c +++ b/drivers/nubus/proc.c @@ -73,8 +73,9 @@ static void nubus_proc_subdir(struct nubus_dev* dev, struct proc_dir_entry* e; sprintf(name, "%x", ent.type); - e = create_proc_entry(name, S_IFREG | S_IRUGO | - S_IWUSR, parent); +#warning Need to set some I/O handlers here + e = create_proc_read_entry(name, S_IFREG | S_IRUGO | S_IWUSR, + parent, NULL, NULL); if (!e) return; } } |