[PATCH 21/68] ide: add hwif->private_data field

From: Bartlomiej Zolnierkiewicz
Date: Fri Jan 29 2010 - 11:18:43 EST


From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
Subject: [PATCH] ide: add hwif->private_data field

Add private_data field to ide_hwif_t matching private_data field used
in struct ata_port.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
---
include/linux/ide.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Index: b/include/linux/ide.h
===================================================================
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -747,7 +747,11 @@ typedef struct hwif_s {

struct completion gendev_rel_comp; /* To deal with device release() */

- void *hwif_data; /* extra hwif data */
+ /* extra port data */
+ union {
+ void *hwif_data;
+ void *private_data;
+ };

#ifdef CONFIG_BLK_DEV_IDEACPI
struct ide_acpi_hwif_link *acpidata;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/