diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2008-07-05 10:02:45 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-07-05 10:02:45 +0200 |
commit | 2582d8c1655f2eda42d5358a242b256fd6e88571 (patch) | |
tree | 4752d862dc8aa94d0a59f084106538850e09d5de /include/asm-arm | |
parent | 036bb15ec94216e28cb1550af0fdcdfb90c549df (diff) | |
download | op-kernel-dev-2582d8c1655f2eda42d5358a242b256fd6e88571.zip op-kernel-dev-2582d8c1655f2eda42d5358a242b256fd6e88571.tar.gz |
IMX UART: Add board specific init/exit functions
Add platform specific init functions. Also rename the struct
platform_device dev into pdev.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-imx/imx-uart.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-imx/imx-uart.h b/include/asm-arm/arch-imx/imx-uart.h index 3a685e1..d54eb1d 100644 --- a/include/asm-arm/arch-imx/imx-uart.h +++ b/include/asm-arm/arch-imx/imx-uart.h @@ -4,6 +4,8 @@ #define IMXUART_HAVE_RTSCTS (1<<0) struct imxuart_platform_data { + int (*init)(struct platform_device *pdev); + void (*exit)(struct platform_device *pdev); unsigned int flags; }; |