#ifndef _MATRIX_KEYPAD_H
#define _MATRIX_KEYPAD_H
#include <linux/types.h>
struct device;
struct input_dev;
#define MATRIX_MAX_ROWS …
#define MATRIX_MAX_COLS …
#define KEY(row, col, val) …
#define KEY_ROW(k) …
#define KEY_COL(k) …
#define KEY_VAL(k) …
#define MATRIX_SCAN_CODE(row, col, row_shift) …
struct matrix_keymap_data { … };
int matrix_keypad_build_keymap(const struct matrix_keymap_data *keymap_data,
const char *keymap_name,
unsigned int rows, unsigned int cols,
unsigned short *keymap,
struct input_dev *input_dev);
int matrix_keypad_parse_properties(struct device *dev,
unsigned int *rows, unsigned int *cols);
#endif