blob: a2ac49e5b684c773d119ab178e3d498043ee602d [file] [log] [blame]
=?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?=b4c7f662011-12-13 01:19:29 +08001/*
2 * include/linux/keyreset.h - platform data structure for resetkeys driver
3 *
4 * Copyright (C) 2008 Google, Inc.
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 */
16
17#ifndef _LINUX_KEYRESET_H
18#define _LINUX_KEYRESET_H
19
20#define KEYRESET_NAME "keyreset"
21
22struct keyreset_platform_data {
Colin Cross899ddfb2011-12-13 01:19:45 +080023 int (*reset_fn)(void);
=?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?=b4c7f662011-12-13 01:19:29 +080024 int *keys_up;
25 int keys_down[]; /* 0 terminated */
26};
27
28#endif /* _LINUX_KEYRESET_H */