diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-09-09 10:19:40 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-09-09 10:19:40 +0200 |
commit | 282b13d066927aeba7137ce3c03d2ee69b8d4940 (patch) | |
tree | e8aec3b609fdafcb1c8c09aaf71796f27d73422c /arch/arm/plat-mxc/include/mach/common.h | |
parent | 82a28c794f27aac17d7a3ebd7f14d731a11a5532 (diff) | |
download | talos-op-linux-282b13d066927aeba7137ce3c03d2ee69b8d4940.tar.gz talos-op-linux-282b13d066927aeba7137ce3c03d2ee69b8d4940.zip |
MXC: add convenience function to register platform devices
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/common.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h index a6d2e24aab15..6350287a59b9 100644 --- a/arch/arm/plat-mxc/include/mach/common.h +++ b/arch/arm/plat-mxc/include/mach/common.h @@ -11,10 +11,13 @@ #ifndef __ASM_ARCH_MXC_COMMON_H__ #define __ASM_ARCH_MXC_COMMON_H__ +struct platform_device; + extern void mxc_map_io(void); extern void mxc_init_irq(void); extern void mxc_timer_init(const char *clk_timer); extern int mxc_clocks_init(unsigned long fref); extern int mxc_register_gpios(void); +extern int mxc_register_device(struct platform_device *pdev, void *data); #endif |