Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27951
b: refs/heads/master
c: 5a570cc
h: refs/heads/master
i:
  27949: 5ece26c
  27947: 5f4eab7
  27943: c076bf6
  27935: 958d2e6
v: v3
  • Loading branch information
David Woodhouse committed Apr 25, 2006
1 parent 4a12475 commit f7e0b87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34186efc17025520a53a48468338003d238a77d7
refs/heads/master: 5a570cc0a41bd316afc91ba2c7151fed70d10b31
7 changes: 5 additions & 2 deletions trunk/include/linux/i2c-algo-ite.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#ifndef I2C_ALGO_ITE_H
#define I2C_ALGO_ITE_H 1

#include <linux/i2c.h>
#include <linux/types.h>

/* Example of a sequential read request:
struct i2c_iic_msg s_msg;
Expand All @@ -49,6 +49,9 @@ struct i2c_iic_msg {
char *buf; /* pointer to msg data */
};

#ifdef __KERNEL__
struct i2c_adapter;

struct i2c_algo_iic_data {
void *data; /* private data for lolevel routines */
void (*setiic) (void *data, int ctl, int val);
Expand All @@ -65,5 +68,5 @@ struct i2c_algo_iic_data {

int i2c_iic_add_bus(struct i2c_adapter *);
int i2c_iic_del_bus(struct i2c_adapter *);

#endif /* __KERNEL__ */
#endif /* I2C_ALGO_ITE_H */

0 comments on commit f7e0b87

Please sign in to comment.