From patchwork Mon Jun 3 15:14:16 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: 17489 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f71.google.com (mail-vb0-f71.google.com [209.85.212.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 971B2238F2 for ; Mon, 3 Jun 2013 15:14:40 +0000 (UTC) Received: by mail-vb0-f71.google.com with SMTP id i3sf3876800vbh.2 for ; Mon, 03 Jun 2013 08:14:40 -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=mXYCdrw8PuyW72Ymmij96K3F7P8ZQn42L3S/4foG+cnHSlmALbawjCs4ft0S/imBbb 2GYaWgtDmjlOvlT9CAYulHLSm+vzjWa61HzeyguMDI/uDNxVCFo9cxnfmhqf6LA9iUl+ hjmYMa/cEwOhfA1IaJHsk4/ugYCmZGymnyQKpwZAy6+dJMpXSX+/QjPATpvJd8HqpQQB kSZddYsZe8VhhgNr4e2+yx6arIJO7NWvValyvTZtKp4EYYAVPbnm9bCX55Q65Vzrkdt0 PCFWtwyXSJFsS0nA266O8VY+EQQgLbAT1QZZHltuO8Hglds0sKQJczUtvALNTQIcit+3 m08g== X-Received: by 10.224.53.198 with SMTP id n6mr14194598qag.2.1370272480337; Mon, 03 Jun 2013 08:14:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.3 with SMTP id f3ls2178894qeh.83.gmail; Mon, 03 Jun 2013 08:14:40 -0700 (PDT) X-Received: by 10.52.171.135 with SMTP id au7mr14258268vdc.126.1370272480133; Mon, 03 Jun 2013 08:14:40 -0700 (PDT) Received: from mail-ve0-x22b.google.com (mail-ve0-x22b.google.com [2607:f8b0:400c:c01::22b]) by mx.google.com with ESMTPS id ef7si35525144vdc.111.2013.06.03.08.14.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 08:14:40 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22b 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:c01::22b; Received: by mail-ve0-f171.google.com with SMTP id b10so2948084vea.30 for ; Mon, 03 Jun 2013 08:14:40 -0700 (PDT) X-Received: by 10.221.4.131 with SMTP id oc3mr16802082vcb.49.1370272479562; Mon, 03 Jun 2013 08:14:39 -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.221.10.206 with SMTP id pb14csp82572vcb; Mon, 3 Jun 2013 08:14:39 -0700 (PDT) X-Received: by 10.66.232.196 with SMTP id tq4mr25207459pac.167.1370272478076; Mon, 03 Jun 2013 08:14:38 -0700 (PDT) Received: from mail-pb0-x231.google.com (mail-pb0-x231.google.com [2607:f8b0:400e:c01::231]) by mx.google.com with ESMTPS id rl1si12625034pbc.144.2013.06.03.08.14.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 08:14:38 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::231 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=2607:f8b0:400e:c01::231; Received: by mail-pb0-f49.google.com with SMTP id jt11so1717402pbb.36 for ; Mon, 03 Jun 2013 08:14:37 -0700 (PDT) X-Received: by 10.66.118.129 with SMTP id km1mr24092962pab.112.1370272477683; Mon, 03 Jun 2013 08:14:37 -0700 (PDT) Received: from localhost.localdomain ([223.239.135.240]) by mx.google.com with ESMTPSA id pl9sm41171958pbc.5.2013.06.03.08.14.33 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 08:14:36 -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, manjunath.goudar@linaro.org, linaro-dev@lists.linaro.org, Arnd Bergmann , Greg KH Subject: [PATCH 2/2] USB: OHCI: add a name for the platform-private field Date: Mon, 3 Jun 2013 20:44:16 +0530 Message-Id: <1370272457-25983-3-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1370272457-25983-1-git-send-email-manjunath.goudar@linaro.org> References: <1369907454-11003-2-git-send-email-manjunath.goudar@linaro.org> <1370272457-25983-1-git-send-email-manjunath.goudar@linaro.org> X-Gm-Message-State: ALoCoQkD1YwwVxvkq+JJEKYjrPZYU0e4w6/j4PfUUbeg1HTOgpokMrJrC2GrGrWkdlbwB3TVR8E6 X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22b 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