include: key.h: clean up

Change-Id: Id5cec38070c09494643bad2244d14633b93d4d0f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2018-02-22 15:07:04 +08:00 committed by Kever Yang
parent 366bd23fdb
commit 6d82ce07fa
1 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,8 @@
#ifndef _KEY_H_
#define _KEY_H_
#include <linux/input.h>
#define KEY_LONG_DOWN_MS 2000
enum key_state {
@ -18,10 +20,8 @@ enum key_state {
};
struct dm_key_ops {
int type;
const char *name;
int (*read)(struct udevice *dev, int code);
int (*exist)(struct udevice *dev, int code);
};
struct input_key {