UPSTREAM: usb: core: hub: hub_port_init lock controller instead of bus
[firefly-linux-kernel-4.4.55.git] / include / linux / rk_keys.h
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
15 static inline void rk_send_power_key(int state) { }
16 static inline void rk_send_wakeup_key(void) { }
17 #endif
18
19 #endif