29 lines
918 B
C
29 lines
918 B
C
|
/* Copyright (c) 2010, The Linux Foundation. All rights reserved.
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License version 2 and
|
||
|
* only version 2 as published by the Free Software Foundation.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*/
|
||
|
|
||
|
#ifndef __ASM_ARCH_MSM_SERIAL_H
|
||
|
#define __ASM_ARCH_MSM_SERIAL_H
|
||
|
|
||
|
#include <linux/serial_core.h>
|
||
|
|
||
|
/* Optional platform device data for msm_serial driver.
|
||
|
* Used to configure low power wakeup */
|
||
|
struct msm_serial_platform_data {
|
||
|
int wakeup_irq; /* wakeup irq */
|
||
|
/* bool: inject char into rx tty on wakeup */
|
||
|
unsigned char inject_rx_on_wakeup;
|
||
|
char rx_to_inject;
|
||
|
int userid;
|
||
|
};
|
||
|
|
||
|
#endif
|