diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
commit | c6da2cfeb05178a11c6d062a06f8078150ee492f (patch) | |
tree | f3b4021d252c52d6463a9b3c1bb7245e399b009c /include/linux/uart_select.h | |
parent | c6d7c4dbff353eac7919342ae6b3299a378160a6 (diff) | |
download | kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.zip kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.gz kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.bz2 |
samsung update 1
Diffstat (limited to 'include/linux/uart_select.h')
-rw-r--r-- | include/linux/uart_select.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/uart_select.h b/include/linux/uart_select.h new file mode 100644 index 0000000..5e23628 --- /dev/null +++ b/include/linux/uart_select.h @@ -0,0 +1,26 @@ +/* + * uart_select.h - UART Selection Driver + * + * Copyright (C) 2009 Samsung Electronics + * Kim Kyuwon <q1.kim@samsung.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ +#ifndef _UART_SELECT_H_ +#define _UART_SELECT_H_ + +#define UART_SW_PATH_NA -1 +#define UART_SW_PATH_AP 1 +#define UART_SW_PATH_CP 0 + +struct uart_select_platform_data { + int (*get_uart_switch)(void); + void (*set_uart_switch)(int path); +}; + +extern int uart_sel_get_state(void); +#endif /* _UART_SELECT_H_ */ + |