Files
thead-kernel/include/linux/rk_keys.h
lin_jiayong 92ed9d94c6 sync: huiwei: 6e3001aa0c625f07407a414e0d5e0e8e10dcded6
merge into 0e30013865202a00d2117a2e7ee4a15eddac6ea6
2024-06-01 23:21:52 +08:00

20 lines
515 B
C

/*
* Copyright (C) 2016, Fuzhou Rockchip Electronics Co., Ltd
*
* 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 _RK_KEYS_H
#define _RK_KEYS_H
#ifdef CONFIG_KEYBOARD_ROCKCHIP
void rk_send_power_key(int state);
void rk_send_wakeup_key(void);
#else
static inline void rk_send_power_key(int state) { }
static inline void rk_send_wakeup_key(void) { }
#endif
#endif