]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: call ide_proc_register_driver() later
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:27 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:27 +0000 (22:39 +0200)
commit1e874f448365b80e69b8a60b8b575b17f00811f3
tree6a79a12ffdcaa12f5f89356527c1ab02014c751b
parent3ceca727fe3a38dd8d7a3adf938fefda83eee8af
ide: call ide_proc_register_driver() later

Call ide_proc_register_driver() in ide*_setup() (just before
ide*_add_settings() call) instead of in ->probe method.

Despite being basically a preparation for /proc/ide/hd*/settings
rework this is a nice cleanup in itself.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c
drivers/ide/ide-disk.c
drivers/ide/ide-floppy.c
drivers/ide/ide-tape.c
drivers/scsi/ide-scsi.c