From patchwork Fri Jan 29 16:05:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 43991 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 705EDB7D36 for ; Sat, 30 Jan 2010 03:20:24 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751246Ab0A2QSi (ORCPT ); Fri, 29 Jan 2010 11:18:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754189Ab0A2QFk (ORCPT ); Fri, 29 Jan 2010 11:05:40 -0500 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 Received: by mail-fx0-f220.google.com with SMTP id 20so2015120fxm.21 for ; Fri, 29 Jan 2010 08:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=5tFY3pIjn3Lny0J2p3xK9nWJyfC5JgeSw+VKrhYkfsA=; b=mTgvuCWUQeGJR1LvyLRziWYpzDlqgLUoyReyWKZ39+fFeCBGqA6/FHiTkthbPBP/Rt x+rmAYRB0F3ofPTCfn1mcLl4xc/Pv1a2JJbglWQ6Tlpjz4zytNMD5Eynmb7znjGYpDQG FdwddWanoBgS5fTTe6npMkIFl4TDrrVa6/NuE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=VZldLvaXX6jxvfQkx7QvmAra5thKS/jG85N+fY9Rc8TxncBAgQx3jrB5idlhd0J263 jvlYjKvbwS3iiZ65vm/gMuFmOZb2VqLopd8kKJzG2iFQQeCD51nNjhfqzAIN358JO3CW G1D+T8yUCzKYGiwsfMg3wxdODRj1Ix2emJX4A= Received: by 10.87.51.9 with SMTP id d9mr2177788fgk.35.1264781131904; Fri, 29 Jan 2010 08:05:31 -0800 (PST) Received: from ?127.0.0.1? (chello089079027028.chello.pl [89.79.27.28]) by mx.google.com with ESMTPS id 16sm554782fxm.0.2010.01.29.08.05.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 29 Jan 2010 08:05:31 -0800 (PST) From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org Date: Fri, 29 Jan 2010 17:05:25 +0100 Message-Id: <20100129160525.21495.12888.sendpatchset@localhost> In-Reply-To: <20100129160308.21495.14120.sendpatchset@localhost> References: <20100129160308.21495.14120.sendpatchset@localhost> Subject: [PATCH 21/68] ide: add hwif->private_data field Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;