mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
![Paul Walmsley](/assets/img/avatar_default.png)
Split the OMAP1 and OMAP2+ platform_device build and register code. Convert the OMAP2+ variant to use omap_device. This patch was developed in collaboration with Rajendra Nayak <rnayak@ti.com>. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com> Cc: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
14 lines
368 B
C
14 lines
368 B
C
#ifndef __I2C_OMAP_H__
|
|
#define __I2C_OMAP_H__
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
struct omap_i2c_bus_platform_data {
|
|
u32 clkrate;
|
|
void (*set_mpu_wkup_lat)(struct device *dev, long set);
|
|
int (*device_enable) (struct platform_device *pdev);
|
|
int (*device_shutdown) (struct platform_device *pdev);
|
|
int (*device_idle) (struct platform_device *pdev);
|
|
};
|
|
|
|
#endif
|