0001
0002
0003
0004
0005
0006 #ifndef _LM8333_H
0007 #define _LM8333_H
0008
0009 struct lm8333;
0010
0011 struct lm8333_platform_data {
0012
0013 const struct matrix_keymap_data *matrix_data;
0014
0015 unsigned active_time;
0016
0017 unsigned debounce_time;
0018 };
0019
0020 extern int lm8333_read8(struct lm8333 *lm8333, u8 cmd);
0021 extern int lm8333_write8(struct lm8333 *lm8333, u8 cmd, u8 val);
0022 extern int lm8333_read_block(struct lm8333 *lm8333, u8 cmd, u8 len, u8 *buf);
0023
0024 #endif