From patchwork Thu May 30 09:50:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manjunath Goudar X-Patchwork-Id: 2635511 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 99CE2DF2A1 for ; Thu, 30 May 2013 09:55:10 +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 1UhzZ0-0006B7-17; Thu, 30 May 2013 09:54:30 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UhzYm-00031C-8H; Thu, 30 May 2013 09:54:16 +0000 Received: from mail-pb0-x232.google.com ([2607:f8b0:400e:c01::232]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UhzYj-000305-My for linux-arm-kernel@lists.infradead.org; Thu, 30 May 2013 09:54:14 +0000 Received: by mail-pb0-f50.google.com with SMTP id wy17so52519pbc.37 for ; Thu, 30 May 2013 02:53:52 -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=7paYbCe1Gx/n/YtH/Z+sv2QNzuozPDYMAHLOuR3IwWA=; b=n2QdGSwcx57Si3oqmxwxNbNhQVVI7pqAJeOPAXyvX28p5ZPM3qRe0KL6YwyyhMc0Pi 1lrgWS87D10zfhouj6lKBAh/dIoyoKCM0JbSb/CNXBngcON/y8lNmWQzB+tEWIxdlJI6 Nui4xnPxQS8w6IP2nkb8/ASuwi4k6BBofbZn90HEwba6vcvHqcws0DwhjDdtDeG4o1Bb 43GNvRHuOM+QNUD4Oy3wQLd2lpW9oCA7ik/qeqWqXy30lc9NQAD/qA/TxWFlYPBhcmTU VruykZ3cC0qnnTDIDV1LLyOKAUiZ9H9/svASsYtW4aEaVA1SHUHkYi6m0WPYEAjf6DCs xK1w== X-Received: by 10.68.125.227 with SMTP id mt3mr7212071pbb.153.1369907632370; Thu, 30 May 2013 02:53:52 -0700 (PDT) Received: from localhost.localdomain ([223.239.142.138]) by mx.google.com with ESMTPSA id ra4sm44076575pab.9.2013.05.30.02.53.31 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 May 2013 02:53:51 -0700 (PDT) From: Manjunath Goudar To: linux-usb@vger.kernel.org Subject: [RFC PATCH 2/2] USB: OHCI: add a name for the platform-private field Date: Thu, 30 May 2013 15:20:54 +0530 Message-Id: <1369907454-11003-3-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369907454-11003-1-git-send-email-manjunath.goudar@linaro.org> References: <1369907454-11003-1-git-send-email-manjunath.goudar@linaro.org> X-Gm-Message-State: ALoCoQnR+EEXYloiOs+zxP3cTe32hJQqFtGqBruA9Ufpm46ctTu/+hv11N06NqNsm2aEj9CgRKAn X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130530_055413_844377_A8D1DD4E X-CRM114-Status: GOOD ( 12.49 ) 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 ---- ---------------------- -------------------------------------------------- -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 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. 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