1 /* 2 * Copyright (C) 2016, Fuzhou Rockchip Electronics Co., Ltd 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 */ 8 #ifndef _RK_KEYS_H 9 #define _RK_KEYS_H 10 11 #ifdef CONFIG_KEYBOARD_ROCKCHIP 12 void rk_send_power_key(int state); 13 void rk_send_wakeup_key(void); 14 #else rk_send_power_key(int state)15static inline void rk_send_power_key(int state) 16 { 17 } rk_send_wakeup_key(void)18static inline void rk_send_wakeup_key(void) 19 { 20 } 21 #endif 22 23 #endif 24