mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 00:20:51 +07:00
4d17aeb1c5
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>
15 lines
368 B
C
15 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
|