diff options
author | Jon Hunter <jon-hunter@ti.com> | 2012-09-28 12:34:49 -0400 |
---|---|---|
committer | Jon Hunter <jon-hunter@ti.com> | 2012-11-16 11:35:08 -0500 |
commit | 40fc3bb56ed125aa22c0a85c816ae0f923519146 (patch) | |
tree | fae27dec800c0bd681a625d723dfa14ad9ee6647 /arch/arm/plat-omap | |
parent | 755ae860f71cb37fbd3cc8da007e0d8de33419f0 (diff) |
ARM: OMAP: Add platform data header for DMTIMERs
Move definition of dmtimer platform data structure in to its own header
under <linux/platform_data>.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/dmtimer.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/dmtimer.h | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c index efe47744b491..89585c293554 100644 --- a/arch/arm/plat-omap/dmtimer.c +++ b/arch/arm/plat-omap/dmtimer.c | |||
@@ -43,6 +43,8 @@ | |||
43 | #include <linux/pm_runtime.h> | 43 | #include <linux/pm_runtime.h> |
44 | #include <linux/of.h> | 44 | #include <linux/of.h> |
45 | #include <linux/of_device.h> | 45 | #include <linux/of_device.h> |
46 | #include <linux/platform_device.h> | ||
47 | #include <linux/platform_data/dmtimer-omap.h> | ||
46 | 48 | ||
47 | #include <plat/dmtimer.h> | 49 | #include <plat/dmtimer.h> |
48 | 50 | ||
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h index b3cd91b60a2e..a3fbc48c332e 100644 --- a/arch/arm/plat-omap/include/plat/dmtimer.h +++ b/arch/arm/plat-omap/include/plat/dmtimer.h | |||
@@ -124,14 +124,6 @@ struct omap_dm_timer { | |||
124 | struct list_head node; | 124 | struct list_head node; |
125 | }; | 125 | }; |
126 | 126 | ||
127 | struct dmtimer_platform_data { | ||
128 | /* set_timer_src - Only used for OMAP1 devices */ | ||
129 | int (*set_timer_src)(struct platform_device *pdev, int source); | ||
130 | u32 timer_errata; | ||
131 | u32 timer_capability; | ||
132 | int (*get_context_loss_count)(struct device *); | ||
133 | }; | ||
134 | |||
135 | int omap_dm_timer_reserve_systimer(int id); | 127 | int omap_dm_timer_reserve_systimer(int id); |
136 | struct omap_dm_timer *omap_dm_timer_request(void); | 128 | struct omap_dm_timer *omap_dm_timer_request(void); |
137 | struct omap_dm_timer *omap_dm_timer_request_specific(int timer_id); | 129 | struct omap_dm_timer *omap_dm_timer_request_specific(int timer_id); |