From patchwork Tue Mar 15 19:57:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Green X-Patchwork-Id: 605 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:44:04 -0000 Delivered-To: patches@linaro.org Received: by 10.151.46.5 with SMTP id y5cs80520ybj; Tue, 15 Mar 2011 12:57:39 -0700 (PDT) Received: by 10.216.142.199 with SMTP id i49mr12866015wej.33.1300219042781; Tue, 15 Mar 2011 12:57:22 -0700 (PDT) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id c39si257994wek.202.2011.03.15.12.57.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2011 12:57:22 -0700 (PDT) Received-SPF: pass (google.com: domain of andy.warmcat.com@googlemail.com designates 74.125.82.178 as permitted sender) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of andy.warmcat.com@googlemail.com designates 74.125.82.178 as permitted sender) smtp.mail=andy.warmcat.com@googlemail.com; dkim=pass (test mode) header.i=@googlemail.com Received: by mail-wy0-f178.google.com with SMTP id 26so1069271wyj.37 for ; Tue, 15 Mar 2011 12:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:sender:from:subject:to:cc:date:message-id :in-reply-to:references:user-agent:mime-version:content-type :content-transfer-encoding; bh=3HykIpF8qsyU2O+VFnpxPeO44wGS0WB4tzxEfO2XZX4=; b=ZX9MYo8KmEGF18NEI946QC8Wt4ynDI09birx4AGCpFujVaYtAW5M8SUkWyvijSM0Mx apQE2U6/VjIbmrZGrB5lH131uBiSwtxjt6cq8PHYjJeiYY+BmSMqYERr6Jw2CD12Ehh5 qNM1welipzo6/3QcDWLgAtrgxywGpw9VfyS4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:from:subject:to:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; b=QXjjn1rYi8a/EBLzDsn/LnhMCc5FYKCKxzaJmM44WwLWPCILT0Xg2u9BRyPV4E1p5h KykCTpScvbgCfQN/aFpPld/bCaS/RwTw4TnMTVQsG8ftFA2ICn1cb86xeeg7rFkRUPN9 8qBYNGbrGZpbM8e+gH8KcU22yHa9rt9UU6DL4= Received: by 10.227.28.154 with SMTP id m26mr12851436wbc.216.1300219041727; Tue, 15 Mar 2011 12:57:21 -0700 (PDT) Received: from otae.warmcat.com (s15404224.onlinehome-server.info [87.106.134.80]) by mx.google.com with ESMTPS id x1sm166301wbh.8.2011.03.15.12.57.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2011 12:57:21 -0700 (PDT) Sender: Andy Green From: Andy Green Subject: [PATCH 3 12/18] I2C: OMAP1/OMAP2+: add flags field to omap i2c platform data To: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Cc: patches@linaro.org, Ben Dooks , Andy Green Date: Tue, 15 Mar 2011 19:57:19 +0000 Message-ID: <20110315195719.30000.62104.stgit@otae.warmcat.com> In-Reply-To: <20110315195147.30000.86184.stgit@otae.warmcat.com> References: <20110315195147.30000.86184.stgit@otae.warmcat.com> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 OMAP I2C driver can access the configuration flags through its platform data. Cc: patches@linaro.org Cc: Ben Dooks Reported-by: Peter Maydell Signed-off-by: Andy Green --- include/linux/i2c-omap.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/i2c-omap.h b/include/linux/i2c-omap.h index b321211..776c8e1 100644 --- a/include/linux/i2c-omap.h +++ b/include/linux/i2c-omap.h @@ -18,6 +18,7 @@ struct omap_i2c_bus_platform_data { u32 clkrate; u32 rev; + u32 flags; void (*set_mpu_wkup_lat)(struct device *dev, long set); int (*device_enable) (struct platform_device *pdev); int (*device_shutdown) (struct platform_device *pdev);