From patchwork Thu Apr 18 07:17:46 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: 16184 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f69.google.com (mail-qe0-f69.google.com [209.85.128.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 79CF923974 for ; Thu, 18 Apr 2013 07:18:41 +0000 (UTC) Received: by mail-qe0-f69.google.com with SMTP id 2sf4500396qea.4 for ; Thu, 18 Apr 2013 00:18:04 -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=EEuUbba1myy8EOf2Ybrd22NKWmbXWurwYoaLS3CjrOgRfNKmQsMP++TFxD4JI3wrTq gWIymS2/trlkGlC4guVPpiQSF45jv9l7vXnjehM4TBelEQH37nRmJNHxooWTPpNvS19/ L0UqOrjqpUDAhht18RPUBBy0+NtvbsxZ+Qv9ELD2S+GOiiHW3xSRFKuRnOVvcY7N3i/H axkDia2P135nZ6fXMf8E/qXltfHNTKTjCQHCoOM5kUJ+JoxjwOMxqwUx/h+pUlQWYiOw pagYtnqS98PsxoYxjGv10jomy2IhtRoxalg5ZGpN5sj6U2MkAcyeQ+FqKBDvBMgmUTsU xvhg== X-Received: by 10.224.10.6 with SMTP id n6mr3492753qan.4.1366269484859; Thu, 18 Apr 2013 00:18:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.4.71 with SMTP id i7ls1359535qei.86.gmail; Thu, 18 Apr 2013 00:18:04 -0700 (PDT) X-Received: by 10.221.4.6 with SMTP id oa6mr7338345vcb.29.1366269484713; Thu, 18 Apr 2013 00:18:04 -0700 (PDT) Received: from mail-vb0-x22a.google.com (mail-vb0-x22a.google.com [2607:f8b0:400c:c02::22a]) by mx.google.com with ESMTPS id s1si5975355vcc.90.2013.04.18.00.18.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 00:18:04 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22a 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::22a; Received: by mail-vb0-f42.google.com with SMTP id p12so2030358vbe.15 for ; Thu, 18 Apr 2013 00:18:04 -0700 (PDT) X-Received: by 10.220.175.3 with SMTP id v3mr7319467vcz.8.1366269484564; Thu, 18 Apr 2013 00:18:04 -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 nf2csp109368veb; Thu, 18 Apr 2013 00:18:03 -0700 (PDT) X-Received: by 10.66.41.11 with SMTP id b11mr12308196pal.183.1366269483487; Thu, 18 Apr 2013 00:18:03 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx.google.com with ESMTPS id lm2si8912088pab.180.2013.04.18.00.18.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 00:18:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id 10so1358510pdc.28 for ; Thu, 18 Apr 2013 00:18:03 -0700 (PDT) X-Received: by 10.66.156.196 with SMTP id wg4mr12305154pab.23.1366269483065; Thu, 18 Apr 2013 00:18:03 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPS id ad7sm8899735pbd.14.2013.04.18.00.18.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 00:18:02 -0700 (PDT) From: Manjunath Goudar To: manjunath.goudar@linaro.org Cc: arnd@linaro.org, patches@linaro.org Subject: [RFC PATCH 1/2] USB: OHCI: add a name for the platform-private field Date: Thu, 18 Apr 2013 12:47:46 +0530 Message-Id: <1366269467-15778-2-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1366269467-15778-1-git-send-email-manjunath.goudar@linaro.org> References: <1366269467-15778-1-git-send-email-manjunath.goudar@linaro.org> X-Gm-Message-State: ALoCoQlKQJGUO8uGT5/5KBYC+uo7nE7OnN6Z2gauKHLoNr0sH/fZulvSiTJ4G+O6z0Q9vN0GmmbZ X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22a 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