12 #include <linux/i2c.h>
14 #include <linux/kernel.h>
15 #include <linux/module.h>
16 #include <linux/types.h>
49 .read_byte = i2c_reg_read,
50 .write_byte = i2c_reg_write,
51 .read_block = i2c_block_read,
52 .write_block = i2c_block_write,
58 i2c_ci.
data = (
void *)
id;
85 .driver.name =
"stmpe-i2c",
90 .probe = stmpe_i2c_probe,
92 .id_table = stmpe_i2c_id,
95 static int __init stmpe_init(
void)
97 return i2c_add_driver(&stmpe_i2c_driver);
101 static void __exit stmpe_exit(
void)