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@linaro.org X-Patchwork-Id: 17290 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f197.google.com (mail-gh0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8036A25C6D for ; Thu, 30 May 2013 09:53:54 +0000 (UTC) Received: by mail-gh0-f197.google.com with SMTP id r20sf2435ghr.0 for ; Thu, 30 May 2013 02:53:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=7paYbCe1Gx/n/YtH/Z+sv2QNzuozPDYMAHLOuR3IwWA=; b=N9JA5O0pT1qew9xcf+SICtjx2x0s/rV4/hzXXq4yNRLf3KMZf0UPnrfaS4pfbmkOHw EZxnjcv+CsKRNqZ43wRgzRGgENNCLskC9B3E1ilKnf0+G1SpI+eSi2iD6iAonO114nDK yqIWyA7xCosnMiK8d2v9xBGdKMgEFuQT1zL4rajS27hHOXlra5qbcmc0jwlB9XK0kgC3 p2ocnQNM6gyvaWTb51C+UC3SK5vsqawopIU554l4CQjSuktqVLcBft850YFUpJ4Vg7wB Q6EHdBq2YI3tZKfE2UrWrK5BVIkcMb3lMaPUKQ8WtEIkjvhxXJknAe4nmiEUwvah16vI 177w== X-Received: by 10.236.134.14 with SMTP id r14mr3371999yhi.39.1369907634148; Thu, 30 May 2013 02:53:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.118.198 with SMTP id ko6ls85793qeb.61.gmail; Thu, 30 May 2013 02:53:54 -0700 (PDT) X-Received: by 10.58.88.4 with SMTP id bc4mr4664915veb.48.1369907633993; Thu, 30 May 2013 02:53:53 -0700 (PDT) Received: from mail-vb0-x22e.google.com (mail-vb0-x22e.google.com [2607:f8b0:400c:c02::22e]) by mx.google.com with ESMTPS id wl5si24308343vec.16.2013.05.30.02.53.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 May 2013 02:53:53 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22e is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22e; Received: by mail-vb0-f46.google.com with SMTP id 11so18245vbe.33 for ; Thu, 30 May 2013 02:53:53 -0700 (PDT) X-Received: by 10.220.238.4 with SMTP id kq4mr4721593vcb.73.1369907633810; Thu, 30 May 2013 02:53:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.229.199 with SMTP id jj7csp1693vcb; Thu, 30 May 2013 02:53:53 -0700 (PDT) X-Received: by 10.67.5.131 with SMTP id cm3mr7472802pad.80.1369907632748; Thu, 30 May 2013 02:53:52 -0700 (PDT) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [2607:f8b0:400e:c01::229]) by mx.google.com with ESMTPS id s9si29420457pan.27.2013.05.30.02.53.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 May 2013 02:53:52 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::229 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=2607:f8b0:400e:c01::229; Received: by mail-pb0-f41.google.com with SMTP id xb12so54655pbc.28 for ; Thu, 30 May 2013 02:53:52 -0700 (PDT) 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 Cc: linux-arm-kernel@lists.infradead.org, patches@linaro.org, stern@rowland.harvard.edu, arnd@linaro.org, linaro-dev@lists.linaro.org, Manjunath Goudar , Arnd Bergmann , Greg KH 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: ALoCoQmfnr1jka2njz/WUNsPPJ4nn57uD/93BOKi7XcAdQkbi3jdwK8kMJCb5lnrFQmOrS0gTIKd X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22e is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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