From patchwork Fri May 31 12:08:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manjunath Goudar X-Patchwork-Id: 2643071 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 202CDDFB79 for ; Fri, 31 May 2013 12:10:43 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UiO9e-00026y-0E; Fri, 31 May 2013 12:09:58 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UiO9P-0008Fa-HU; Fri, 31 May 2013 12:09:43 +0000 Received: from mail-pd0-f172.google.com ([209.85.192.172]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UiO98-0008Cw-8w for linux-arm-kernel@lists.infradead.org; Fri, 31 May 2013 12:09:27 +0000 Received: by mail-pd0-f172.google.com with SMTP id 10so2105842pdi.3 for ; Fri, 31 May 2013 05:09:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=O/KjgexonWV9hIPif4KMK+u3EenAzhTutotmOLgf0wI=; b=W+0hc6jq5RLheFo2zOUhEzjCfyZVYi9dfMxc9ssS4REZrBE57O9ASL3tom/2F5Nocw 93Am5hk4yno2Vu0oAc8lNvIexY+T5fYLZWZ8WtnQWLAwNnLkGsgoGhrZxa9VS3l/jsaW 1Cplg3BKxmea3tbdYagqD8J9V1uVYGfUa7rIeKhPC5IlB4wuh6mugUOeYTb6qhDTcg6x 95h0e9o9w7RMcTqflvwfjWV9PM0jDDkD5PEXCNoP6ZwUOC9p9xiZexnlJgyQwJk6wviI sXGCePKKEYqNSzqtpr9NhfksDKQlCDgJlEFabY9Lmwt6hjuxt4sD2WBYCIDFIrulLtu9 XVuw== X-Received: by 10.69.2.228 with SMTP id br4mr12560191pbd.91.1370002145100; Fri, 31 May 2013 05:09:05 -0700 (PDT) Received: from localhost.localdomain ([223.239.147.24]) by mx.google.com with ESMTPSA id kr16sm49524502pab.23.2013.05.31.05.09.00 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 05:09:04 -0700 (PDT) From: manjunath.goudar@linaro.org To: linux-usb@vger.kernel.org Subject: [PATCH V2 2/2] USB: OHCI: add a name for the platform-private field Date: Fri, 31 May 2013 17:38:40 +0530 Message-Id: <51a892e0.3077420a.5699.0f8c@mx.google.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1370002120-19495-1-git-send-email-y> References: <1369907454-11003-1-git-send-email-manjunath.goudar@linaro.org> <1370002120-19495-1-git-send-email-y> X-Gm-Message-State: ALoCoQmfwIH9O9Non6sgYaOs5sSw9IopiZtFOUm9vRwRv3zH3TIb0H99tmWtCTsFWzKexPH2+WDc X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130531_080926_445455_2E54A262 X-CRM114-Status: GOOD ( 12.47 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.172 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linaro-dev@lists.linaro.org, Arnd Bergmann , patches@linaro.org, Greg KH , Manjunath Goudar , stern@rowland.harvard.edu, arnd@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Manjunath Goudar This patch adds an ohci->priv field for private use by OHCI platform drivers. Until now none of the platform drivers has used this private space, but that's about to change in the next patch of this series. In V2: No changes. Signed-off-by: Manjunath Goudar Cc: Arnd Bergmann Cc: Greg KH Cc: Alan Stern Cc: linux-usb@vger.kernel.org --- drivers/usb/host/ohci.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h index 3b58482..e2e5faa 100644 --- a/drivers/usb/host/ohci.h +++ b/drivers/usb/host/ohci.h @@ -421,6 +421,9 @@ struct ohci_hcd { struct dentry *debug_periodic; struct dentry *debug_registers; #endif + /* platform-specific data -- must come last */ + unsigned long priv[0] __aligned(sizeof(s64)); + }; #ifdef CONFIG_PCI