From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: [PATCH 21/68] ide: add hwif->private_data field Date: Fri, 29 Jan 2010 17:05:25 +0100 Message-ID: <20100129160525.21495.12888.sendpatchset@localhost> References: <20100129160308.21495.14120.sendpatchset@localhost> Return-path: Received: from mail-fx0-f220.google.com ([209.85.220.220]:53041 "EHLO mail-fx0-f220.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751298Ab0A2QFd (ORCPT ); Fri, 29 Jan 2010 11:05:33 -0500 In-Reply-To: <20100129160308.21495.14120.sendpatchset@localhost> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: linux-ide@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org From: Bartlomiej Zolnierkiewicz 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 --- 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;