summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-proc.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2008-10-10 22:39:27 +0200
committerBartlomiej Zolnierkiewicz2008-10-10 22:39:27 +0200
commit1e874f448365b80e69b8a60b8b575b17f00811f3 (patch)
tree6a79a12ffdcaa12f5f89356527c1ab02014c751b /drivers/ide/ide-proc.c
parentide: include <linux/hdreg.h> only when needed (diff)
downloadkernel-qcow2-linux-1e874f448365b80e69b8a60b8b575b17f00811f3.tar.gz
kernel-qcow2-linux-1e874f448365b80e69b8a60b8b575b17f00811f3.tar.xz
kernel-qcow2-linux-1e874f448365b80e69b8a60b8b575b17f00811f3.zip
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>
Diffstat (limited to 'drivers/ide/ide-proc.c')
0 files changed, 0 insertions, 0 deletions