From patchwork Thu Apr 18 16:05:50 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: 16248 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D843823974 for ; Thu, 18 Apr 2013 16:06:59 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id b10sf5584547qen.10 for ; Thu, 18 Apr 2013 09:06:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received: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=/2hcnlg+XBKJiHv2Xqtrlq8NS+pgjqVSWl7ZjRCdMrE=; b=MnHvMinYiqLvVtg/D+EZrx5XoTRSFccEtlVRpTM/p7jYCHVWXyDcv3LFgcSeF6td3h Tf1YL91Kh3Pk6F7HVrrOuur22Kzd5xPsPQlCnlKULGcO2GvPQDO9+pXrFM9gjeHyKMVd k4bWY1jDUwpuAmaARDmPuRFLfHdTEHwy60rme6/iPBsR6TRMe0W/w87DAFOFKxDxCZVp IYiwFZNovY3Df8Vxz6qrZWqX4CUsoOKHf/CKL/CG3LRWXyxZr0SY15b4aMKn5U+blLbd l8vfeHQRw0QhpXfdNunwKcCqljJeROJWcpLf1T9qP91bgL+JECxFDZM7fyHEDMV46rZV E1BQ== X-Received: by 10.236.19.198 with SMTP id n46mr4526597yhn.8.1366301182120; Thu, 18 Apr 2013 09:06:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.37 with SMTP id lh5ls1533583qeb.66.gmail; Thu, 18 Apr 2013 09:06:22 -0700 (PDT) X-Received: by 10.220.253.8 with SMTP id my8mr8812390vcb.23.1366301181976; Thu, 18 Apr 2013 09:06:21 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id ex4si6923613vdb.118.2013.04.18.09.06.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 09:06:21 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id ht11so519054vcb.41 for ; Thu, 18 Apr 2013 09:06:21 -0700 (PDT) X-Received: by 10.58.181.201 with SMTP id dy9mr8740938vec.34.1366301181567; Thu, 18 Apr 2013 09:06:21 -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.58.127.98 with SMTP id nf2csp130426veb; Thu, 18 Apr 2013 09:06:20 -0700 (PDT) X-Received: by 10.152.120.6 with SMTP id ky6mr6185685lab.19.1366301179865; Thu, 18 Apr 2013 09:06:19 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) by mx.google.com with ESMTPS id pu7si3935279lbb.209.2013.04.18.09.06.19 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 09:06:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.217.175 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id o10so2870721lbi.34 for ; Thu, 18 Apr 2013 09:06:19 -0700 (PDT) X-Received: by 10.152.21.229 with SMTP id y5mr6080911lae.44.1366301179206; Thu, 18 Apr 2013 09:06:19 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPS id m9sm4510332lbm.3.2013.04.18.09.06.11 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 09:06:18 -0700 (PDT) From: Manjunath Goudar To: manjunath.goudar@linaro.org Cc: arnd@linaro.org, patches@linaro.org, Arnd Bergmann , Greg KH , Alan Stern , linux-usb@vger.kernel.org Subject: [RFC PATCH 1/2] USB: OHCI: add a name for the platform-private field Date: Thu, 18 Apr 2013 21:35:50 +0530 Message-Id: <1366301151-10530-2-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1366301151-10530-1-git-send-email-manjunath.goudar@linaro.org> References: <1366301151-10530-1-git-send-email-manjunath.goudar@linaro.org> X-Gm-Message-State: ALoCoQlc+uc2oBP7GDjeRgTzofT2QKowDT9+aQv9X6lw7JgnzPAFT2vYeUEN5QUnX0zQdiOQePZ1 X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.182 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 2c5065e..6d94ac9 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