-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OMAP: I2C: split device registration and convert OMAP2+ to omap_device
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>
- Loading branch information
Paul Walmsley
authored and
Kevin Hilman
committed
Nov 9, 2010
1 parent
f776471
commit 4d17aeb
Showing
2 changed files
with
54 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
#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 |