Skip to content

Commit

Permalink
ARM: OMAP: Move omap_init_consistent_dma_size() to local common.h
Browse files Browse the repository at this point in the history
We don't want to keep it in io.h as we want to remove io.h
for omap2+ for the common zImage support.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Feb 24, 2012
1 parent 258ee92 commit a4f3419
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-omap1/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ void omap1_restart(char, const char *);

extern struct sys_timer omap1_timer;
extern bool omap_32k_timer_init(void);
extern void __init omap_init_consistent_dma_size(void);

#endif /* __ARCH_ARM_MACH_OMAP1_COMMON_H */
2 changes: 2 additions & 0 deletions arch/arm/mach-omap2/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ void am33xx_map_io(void);
void omap4_map_io(void);
void ti81xx_map_io(void);

extern void __init omap_init_consistent_dma_size(void);

/**
* omap_test_timeout - busy-loop, testing a condition
* @cond: condition to test until it evaluates to true
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/plat-omap/include/plat/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ extern void omap_writeb(u8 v, u32 pa);
extern void omap_writew(u16 v, u32 pa);
extern void omap_writel(u32 v, u32 pa);

extern void __init omap_init_consistent_dma_size(void);

#endif

#endif

0 comments on commit a4f3419

Please sign in to comment.