aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-17 12:09:13 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-17 12:09:13 -0400
commit79cb380397c834a35952d8497651d93b543ef968 (patch)
treecfeb4b1c69327df9f8885d18fa0d0ef3e547cce4 /include/linux/ide.h
parent9a6eb74d07f9152dd0e0ea551e878e869b8d2fc1 (diff)
ide: allow device drivers to specify per-device type /proc settings
Turn ide_driver_t's 'proc' field into ->proc_entries method (and also 'settings' field into ->proc_devsets method). Then update all device drivers accordingly. There should be no functional changes caused by this patch. Acked-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index ba51a93fa547..488808891acb 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1120,8 +1120,8 @@ struct ide_driver_s {
1120 void (*resume)(ide_drive_t *); 1120 void (*resume)(ide_drive_t *);
1121 void (*shutdown)(ide_drive_t *); 1121 void (*shutdown)(ide_drive_t *);
1122#ifdef CONFIG_IDE_PROC_FS 1122#ifdef CONFIG_IDE_PROC_FS
1123 ide_proc_entry_t *proc; 1123 ide_proc_entry_t * (*proc_entries)(ide_drive_t *);
1124 const struct ide_proc_devset *settings; 1124 const struct ide_proc_devset * (*proc_devsets)(ide_drive_t *);
1125#endif 1125#endif
1126}; 1126};
1127 1127