Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
samsung-keypad.h
Go to the documentation of this file.
1 /*
2  * Samsung Keypad platform data definitions
3  *
4  * Copyright (C) 2010 Samsung Electronics Co.Ltd
5  * Author: Joonyoung Shim <[email protected]>
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License as published by the
9  * Free Software Foundation; either version 2 of the License, or (at your
10  * option) any later version.
11  */
12 
13 #ifndef __SAMSUNG_KEYPAD_H
14 #define __SAMSUNG_KEYPAD_H
15 
17 
18 #define SAMSUNG_MAX_ROWS 8
19 #define SAMSUNG_MAX_COLS 8
20 
35  unsigned int rows;
36  unsigned int cols;
38  bool wakeup;
39 
40  void (*cfg_gpio)(unsigned int rows, unsigned int cols);
41 };
42 
43 #endif /* __SAMSUNG_KEYPAD_H */