summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-imx
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-07-05 10:02:45 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2008-07-05 10:02:45 +0200
commit2582d8c1655f2eda42d5358a242b256fd6e88571 (patch)
tree4752d862dc8aa94d0a59f084106538850e09d5de /include/asm-arm/arch-imx
parent036bb15ec94216e28cb1550af0fdcdfb90c549df (diff)
downloadtalos-op-linux-2582d8c1655f2eda42d5358a242b256fd6e88571.tar.gz
talos-op-linux-2582d8c1655f2eda42d5358a242b256fd6e88571.zip
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/arch-imx')
-rw-r--r--include/asm-arm/arch-imx/imx-uart.h2
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 3a685e1780ea..d54eb1d48026 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;
};
OpenPOWER on IntegriCloud