[PATCH] ide: incorrect device link for ide-cs
authorHannes Reinecke <hare@suse.de>
Wed, 9 Nov 2005 21:47:18 +0000 (22:47 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 9 Nov 2005 21:47:18 +0000 (22:47 +0100)
commit4349d5cdf28d46c22d467079e80ee9695dcec0ad
treef16b8cb1689a82ebb48d95f9be2f66b56fb62189
parenta5ee3634630c218e86afc5bae2acb55b9e47625d
[PATCH] ide: incorrect device link for ide-cs

Devices driven by ide-cs will appear under /sys/devices instead of the
appropriate PCMCIA device. To fix this I had to extend the hw_regs_t
structure with a 'struct device' field, which allows us to set the
parent link for the appropriate hwif.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@suse.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide.c
drivers/ide/legacy/ide-cs.c
include/linux/ide.h