From patchwork Mon Jun 3 15:16:09 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: 17491 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f200.google.com (mail-ye0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6ABEB238F2 for ; Mon, 3 Jun 2013 15:16:32 +0000 (UTC) Received: by mail-ye0-f200.google.com with SMTP id r2sf3923251yen.7 for ; Mon, 03 Jun 2013 08:16:32 -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=HZZS986cHBxqraHpt7jcEA+k28b1Z3oUeaqI3/jB4ZKbaUWSFGeXxKcXP1LukGjNOi AUqwM291FIrT2XMwuppisdvXuXk3OnKeYOUvsJoTCQITcsX2RWG0HW5/G4LvsI0koe5Z 4PaDEafwok73vbqS088iy/ZVqvutBB9yDk0XN4+S1P8eP3/HuyyI6hWD0V2yxl+n2Oak N8r1j4incxXQAhC2oiH7Kfyg25J0/20+SD5BBql24T4U9NDlYUC18mHLBy3gTKVczMxC Z8kHvmZBA4Vf7g8tzXiPnMaYhhkOrNI4LSMpda2F0gJmyssvBLNw9FhYN7Z/aUzlN6nb gRPw== X-Received: by 10.236.198.168 with SMTP id v28mr12551189yhn.10.1370272592185; Mon, 03 Jun 2013 08:16:32 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.13.225 with SMTP id k1ls2194678qec.44.gmail; Mon, 03 Jun 2013 08:16:32 -0700 (PDT) X-Received: by 10.52.68.205 with SMTP id y13mr14098836vdt.33.1370272592037; Mon, 03 Jun 2013 08:16:32 -0700 (PDT) Received: from mail-vb0-x232.google.com (mail-vb0-x232.google.com [2607:f8b0:400c:c02::232]) by mx.google.com with ESMTPS id j3si35540983vca.21.2013.06.03.08.16.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 08:16:32 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::232 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::232; Received: by mail-vb0-f50.google.com with SMTP id w16so617447vbb.37 for ; Mon, 03 Jun 2013 08:16:31 -0700 (PDT) X-Received: by 10.220.246.8 with SMTP id lw8mr16824630vcb.8.1370272591923; Mon, 03 Jun 2013 08:16:31 -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 pb14csp82643vcb; Mon, 3 Jun 2013 08:16:31 -0700 (PDT) X-Received: by 10.66.163.38 with SMTP id yf6mr24527734pab.45.1370272590948; Mon, 03 Jun 2013 08:16:30 -0700 (PDT) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [2607:f8b0:400e:c01::22a]) by mx.google.com with ESMTPS id yh2si40416064pab.90.2013.06.03.08.16.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 08:16:30 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22a is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=2607:f8b0:400e:c01::22a; Received: by mail-pb0-f42.google.com with SMTP id uo1so5870602pbc.1 for ; Mon, 03 Jun 2013 08:16:30 -0700 (PDT) X-Received: by 10.68.42.134 with SMTP id o6mr24261877pbl.149.1370272590584; Mon, 03 Jun 2013 08:16:30 -0700 (PDT) Received: from localhost.localdomain ([223.239.135.240]) by mx.google.com with ESMTPSA id cd2sm59443579pbd.35.2013.06.03.08.16.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 08:16:29 -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 V3 2/2] USB: OHCI: add a name for the platform-private field Date: Mon, 3 Jun 2013 20:46:09 +0530 Message-Id: <1370272569-463-3-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1370272569-463-1-git-send-email-manjunath.goudar@linaro.org> References: <1369907454-11003-2-git-send-email-manjunath.goudar@linaro.org> <1370272569-463-1-git-send-email-manjunath.goudar@linaro.org> X-Gm-Message-State: ALoCoQmfq3tsOZ5ff8HXc4IxnvFD7FjAfgZ9lwwYJwf5lSGTtwWVuCP3+79L9N6n0b792j3yaKUp X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::232 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 Acked-by: Alan Stern --- 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