From: Andy Green Date: Mon, 30 May 2011 14:43:08 +0000 (-0700) Subject: I2C: OMAP1/OMAP2+: add flags field to omap i2c platform data X-Git-Tag: firefly_0821_release~3680^2~4244^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c23600a688dc71f4312f83cb0f23a736e1578a5e;p=firefly-linux-kernel-4.4.55.git I2C: OMAP1/OMAP2+: add flags field to omap i2c platform data OMAP I2C driver can access the configuration flags through its platform data. Cc: patches@linaro.org Reported-by: Peter Maydell Signed-off-by: Andy Green Signed-off-by: Tony Lindgren Acked-by: Ben Dooks Signed-off-by: Kevin Hilman --- diff --git a/include/linux/i2c-omap.h b/include/linux/i2c-omap.h index 55eac259a451..56a9924c31ca 100644 --- a/include/linux/i2c-omap.h +++ b/include/linux/i2c-omap.h @@ -33,6 +33,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);