blob: 5e23628601ae43392d6150ad1783687877fcf121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_ */
|