diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-12-30 01:10:06 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-12-30 01:10:06 -0800 |
commit | 1dd3294677d5484e4813c6c454ba7f192a3ef61d (patch) | |
tree | e29306ffe8b709a7499a25ecbe3234f833fc7002 /include/linux/i2c/tsc2007.h | |
parent | 4a6908a3a050aacc9c3a2f36b276b46c0629ad91 (diff) | |
parent | e941da3110422c4e57c3d05759fb9475b28f45f6 (diff) | |
download | op-kernel-dev-1dd3294677d5484e4813c6c454ba7f192a3ef61d.zip op-kernel-dev-1dd3294677d5484e4813c6c454ba7f192a3ef61d.tar.gz |
Merge branch 'next' into for-linus
Diffstat (limited to 'include/linux/i2c/tsc2007.h')
-rw-r--r-- | include/linux/i2c/tsc2007.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/i2c/tsc2007.h b/include/linux/i2c/tsc2007.h new file mode 100644 index 0000000..c6361fb --- /dev/null +++ b/include/linux/i2c/tsc2007.h @@ -0,0 +1,17 @@ +#ifndef __LINUX_I2C_TSC2007_H +#define __LINUX_I2C_TSC2007_H + +/* linux/i2c/tsc2007.h */ + +struct tsc2007_platform_data { + u16 model; /* 2007. */ + u16 x_plate_ohms; + + int (*get_pendown_state)(void); + void (*clear_penirq)(void); /* If needed, clear 2nd level + interrupt source */ + int (*init_platform_hw)(void); + void (*exit_platform_hw)(void); +}; + +#endif |