Files
rockchip-kernel/include/linux/rk_keys.h
Huang, Tao c8e3cdd349 input: keyboard: rk_keys: add rk_keys.h
Make sure drivers work if rk_keys do not selected.

Change-Id: I2882e6c69f0ddbff54089f824be33964ded3cb2e
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
2016-12-22 15:31:12 +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