Merge 5.0-rc6 into driver-core-next
[linux/fpc-iii.git] / arch / arm / plat-samsung / include / plat / keypad.h
blob9754b9a2994533e1217bb0932a003cf99ac7b88d
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Samsung Platform - Keypad platform data definitions
5 * Copyright (C) 2010 Samsung Electronics Co.Ltd
6 * Author: Joonyoung Shim <jy0922.shim@samsung.com>
7 */
9 #ifndef __PLAT_SAMSUNG_KEYPAD_H
10 #define __PLAT_SAMSUNG_KEYPAD_H
12 #include <linux/input/samsung-keypad.h>
14 /**
15 * samsung_keypad_set_platdata - Set platform data for Samsung Keypad device.
16 * @pd: Platform data to register to device.
18 * Register the given platform data for use with Samsung Keypad device.
19 * The call will copy the platform data, so the board definitions can
20 * make the structure itself __initdata.
22 extern void samsung_keypad_set_platdata(struct samsung_keypad_platdata *pd);
24 /* defined by architecture to configure gpio. */
25 extern void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols);
27 #endif /* __PLAT_SAMSUNG_KEYPAD_H */