]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cyttsp - include appropriate header file in cyttsp_i2c_common.c
authorRashika Kheria <rashika.kheria@gmail.com>
Sun, 15 Dec 2013 10:25:55 +0000 (02:25 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Dec 2013 10:54:04 +0000 (02:54 -0800)
commitf2ff1c4bdd6dc825847877eeaf1242b82d1893a0
tree96b4c3f27739609b6ae6f40d895b418d5f80debb
parentec5b1e5acd217e21cf61230674145b05ad58bbc8
Input: cyttsp - include appropriate header file in cyttsp_i2c_common.c

Include cyttsp4_core.h in cyttsp_i2c_common.c to ensure that implementation
of cyttsp_i2c_read_block_data() and cyttsp_i2c_write_block_data()
match what the rest of the driver expects.

Thus, it also eliminates the following warning in cyttsp_i2c_common.c:
drivers/input/touchscreen/cyttsp_i2c_common.c:34:5: warning: no previous prototype for ‘cyttsp_i2c_read_block_data’ [-Wmissing-prototypes]
drivers/input/touchscreen/cyttsp_i2c_common.c:64:5: warning: no previous prototype for ‘cyttsp_i2c_write_block_data’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp_i2c_common.c