From patchwork Tue Mar 8 11:08:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Green X-Patchwork-Id: 433 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:42:38 -0000 Delivered-To: patches@linaro.org Received: by 10.224.60.68 with SMTP id o4cs23959qah; Tue, 8 Mar 2011 03:08:53 -0800 (PST) Received: by 10.213.20.143 with SMTP id f15mr2627845ebb.6.1299582533282; Tue, 08 Mar 2011 03:08:53 -0800 (PST) Received: from mail-ey0-f178.google.com (mail-ey0-f178.google.com [209.85.215.178]) by mx.google.com with ESMTPS id p57si1357682eeh.34.2011.03.08.03.08.52 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Mar 2011 03:08:53 -0800 (PST) Received-SPF: pass (google.com: domain of andy.warmcat.com@googlemail.com designates 209.85.215.178 as permitted sender) client-ip=209.85.215.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of andy.warmcat.com@googlemail.com designates 209.85.215.178 as permitted sender) smtp.mail=andy.warmcat.com@googlemail.com; dkim=pass (test mode) header.i=@googlemail.com Received: by mail-ey0-f178.google.com with SMTP id 25so2180378eya.37 for ; Tue, 08 Mar 2011 03:08:52 -0800 (PST) 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=lj1bJahlo0UCOz7P3CH6zFZBe1rrqfuSdpn3KvfedseKi72G73IcdaGbND7bG1h2FY JirAc4kkiq94JaR1IbG9ZPxQdWg57ARDb9h8W/59fDyUqGeHAOvQC729FjMuVz2zlXku KFYdd5O3Ou6Io0lqJpCAwj6QU4jAOxFBjsbKw= 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=F1Mq3Qq3pQt9zovw9BiDphCu5FL8tyuy5zY/ks3dgX1VQi+BgXZj77fFKh9ae2/x6w cqtSjH5+n0H9PhdscLRxRIxxkxzT0jv2PiV4qNToSnSKpAxiOQ8h1AIzTaEBzGnaXoHq XMoNdwivVh6DuUwxFP6kNbBHj52Hu/w5x4Ldw= Received: by 10.216.141.225 with SMTP id g75mr870175wej.10.1299582532261; Tue, 08 Mar 2011 03:08:52 -0800 (PST) Received: from otae.warmcat.com (s15404224.onlinehome-server.info [87.106.134.80]) by mx.google.com with ESMTPS id n1sm250630weq.31.2011.03.08.03.08.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Mar 2011 03:08:51 -0800 (PST) Sender: Andy Green From: Andy Green Subject: [PATCH 2 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, 08 Mar 2011 11:08:49 +0000 Message-ID: <20110308110849.23531.87678.stgit@otae.warmcat.com> In-Reply-To: <20110308105934.23531.83540.stgit@otae.warmcat.com> References: <20110308105934.23531.83540.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);