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 <[email protected]>
This commit is contained in:
Sascha Hauer 2008-07-05 10:02:45 +02:00 • committed by Robert Schwebel
commit 2582d8c165
2 changed files with 21 additions and 9 deletions

View file

@ -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;
};