aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2005-11-09 22:47:18 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2005-11-09 22:47:18 +0100
commit4349d5cdf28d46c22d467079e80ee9695dcec0ad (patch)
treef16b8cb1689a82ebb48d95f9be2f66b56fb62189 /include/linux
parenta5ee3634630c218e86afc5bae2acb55b9e47625d (diff)
downloadkernel_samsung_crespo-4349d5cdf28d46c22d467079e80ee9695dcec0ad.zip
kernel_samsung_crespo-4349d5cdf28d46c22d467079e80ee9695dcec0ad.tar.gz
kernel_samsung_crespo-4349d5cdf28d46c22d467079e80ee9695dcec0ad.tar.bz2
[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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 3461abc..e0cf481 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -230,6 +230,7 @@ typedef struct hw_regs_s {
int dma; /* our dma entry */
ide_ack_intr_t *ack_intr; /* acknowledge interrupt */
hwif_chipset_t chipset;
+ struct device *dev;
} hw_regs_t;
/*