]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: allow device drivers to specify per-device type /proc settings
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 17 Oct 2008 16:09:13 +0000 (18:09 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 17 Oct 2008 16:09:13 +0000 (18:09 +0200)
commit79cb380397c834a35952d8497651d93b543ef968
treecfeb4b1c69327df9f8885d18fa0d0ef3e547cce4
parent9a6eb74d07f9152dd0e0ea551e878e869b8d2fc1
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>
drivers/ide/ide-cd.c
drivers/ide/ide-gd-floppy.c
drivers/ide/ide-gd.c
drivers/ide/ide-proc.c
drivers/ide/ide-tape.c
drivers/scsi/ide-scsi.c
include/linux/ide.h