Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / arm / plat-samsung / include / plat / keypad.h
1 /*
2  * Samsung Platform - Keypad platform data definitions
3  *
4  * Copyright (C) 2010 Samsung Electronics Co.Ltd
5  * Author: Joonyoung Shim <jy0922.shim@samsung.com>
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 __PLAT_SAMSUNG_KEYPAD_H
14 #define __PLAT_SAMSUNG_KEYPAD_H
15
16 #include <linux/input/samsung-keypad.h>
17
18 /**
19  * samsung_keypad_set_platdata - Set platform data for Samsung Keypad device.
20  * @pd: Platform data to register to device.
21  *
22  * Register the given platform data for use with Samsung Keypad device.
23  * The call will copy the platform data, so the board definitions can
24  * make the structure itself __initdata.
25  */
26 extern void samsung_keypad_set_platdata(struct samsung_keypad_platdata *pd);
27
28 /* defined by architecture to configure gpio. */
29 extern void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols);
30
31 #endif /* __PLAT_SAMSUNG_KEYPAD_H */