mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
036bb15ec9
commit
2582d8c165
2 changed files with 21 additions and 9 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue