From patchwork Wed Mar 16 07:19:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Green X-Patchwork-Id: 629 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:12 -0000 Delivered-To: patches@linaro.org Received: by 10.151.46.5 with SMTP id y5cs1281ybj; Wed, 16 Mar 2011 00:19:49 -0700 (PDT) Received: by 10.216.17.3 with SMTP id i3mr4437976wei.80.1300259988691; Wed, 16 Mar 2011 00:19:48 -0700 (PDT) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id r15si1151338wec.102.2011.03.16.00.19.47 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Mar 2011 00:19:48 -0700 (PDT) Received-SPF: pass (google.com: domain of andy.warmcat.com@googlemail.com designates 74.125.82.50 as permitted sender) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=pass (google.com: domain of andy.warmcat.com@googlemail.com designates 74.125.82.50 as permitted sender) smtp.mail=andy.warmcat.com@googlemail.com; dkim=pass (test mode) header.i=@googlemail.com Received: by mail-ww0-f50.google.com with SMTP id 33so1741876wwc.31 for ; Wed, 16 Mar 2011 00:19:47 -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=Vg8YhGbgI5PCDM4Ygz8Q7Ci24W4pKh9r93Vheos2xofZBLCBUhRZ11txK+kMjKHefn q7s8pqMu0+Empg0CTZexxEM/HItbSJp7PO6m3cjX0mUIkWZK8wQrzRbBKZfl6N1KUSW1 LtXiqbgcTErfKBwL6gczTnX9Sz93t4t0As8UA= 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=nJ+h3nAEu9Aca2vy6ZjHuNaG8KQ6vFFThuK9+rg9imvdDMwFF3VwgHOHLkNvp6pOm4 sV2tjPQXoL4gZkaPgYmwsehZVzquTEVo3H00qEraCExwAZq0DO8HKjGCVpFIsE/BK5Yk 7Gyzo2PXYhvrjMLmvrfk0cllY11xGMQ5dupeA= Received: by 10.227.195.75 with SMTP id eb11mr421365wbb.120.1300259987888; Wed, 16 Mar 2011 00:19:47 -0700 (PDT) Received: from otae.warmcat.com (cpc1-nrte21-2-0-cust677.8-4.cable.virginmedia.com [81.111.78.166]) by mx.google.com with ESMTPS id u9sm774760wbg.18.2011.03.16.00.19.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Mar 2011 00:19:47 -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-i2c@lists.infradead.org Cc: patches@linaro.org, Ben Dooks , Andy Green Date: Wed, 16 Mar 2011 07:19:45 +0000 Message-ID: <20110316071945.453.75435.stgit@otae.warmcat.com> In-Reply-To: <20110316071633.453.22228.stgit@otae.warmcat.com> References: <20110316071633.453.22228.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);