diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/i2c.h | 1 | ||||
-rw-r--r-- | firmware/export/synaptics-rmi.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/i2c.h b/firmware/export/i2c.h index 49529c4635..ac9ddba055 100644 --- a/firmware/export/i2c.h +++ b/firmware/export/i2c.h | |||
@@ -27,6 +27,7 @@ extern void i2c_end(void); | |||
27 | extern int i2c_write(int device, const unsigned char* buf, int count ); | 27 | extern int i2c_write(int device, const unsigned char* buf, int count ); |
28 | extern int i2c_read(int device, unsigned char* buf, int count ); | 28 | extern int i2c_read(int device, unsigned char* buf, int count ); |
29 | extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); | 29 | extern int i2c_readmem(int device, int address, unsigned char* buf, int count ); |
30 | extern int i2c_writemem(int device, int address, const unsigned char* buf, int count ); | ||
30 | extern void i2c_outb(unsigned char byte); | 31 | extern void i2c_outb(unsigned char byte); |
31 | extern unsigned char i2c_inb(int ack); | 32 | extern unsigned char i2c_inb(int ack); |
32 | extern void i2c_start(void); | 33 | extern void i2c_start(void); |
diff --git a/firmware/export/synaptics-rmi.h b/firmware/export/synaptics-rmi.h index 2d7a0c8c1e..38a9955dcc 100644 --- a/firmware/export/synaptics-rmi.h +++ b/firmware/export/synaptics-rmi.h | |||
@@ -114,7 +114,7 @@ struct rmi_2d_gesture_data_t | |||
114 | * the generic_i2c driver; the i2c_dev_addr is the i2c address of the device. | 114 | * the generic_i2c driver; the i2c_dev_addr is the i2c address of the device. |
115 | * NOTE: the driver automatically handles the page select mechanism used for | 115 | * NOTE: the driver automatically handles the page select mechanism used for |
116 | * RMI over i2c and assumes a standard page select register at 0xff. */ | 116 | * RMI over i2c and assumes a standard page select register at 0xff. */ |
117 | int rmi_init(int i2c_bus_index, int i2c_dev_addr); | 117 | int rmi_init(int i2c_dev_addr); |
118 | /* Read one or more registers. | 118 | /* Read one or more registers. |
119 | * WARNING: don't cross a page boundary ! */ | 119 | * WARNING: don't cross a page boundary ! */ |
120 | int rmi_read(int address, int byte_count, unsigned char *buffer); | 120 | int rmi_read(int address, int byte_count, unsigned char *buffer); |