aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-i2c.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-i2c.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c
index 32129f3ea836..41dbbe9621a1 100644
--- a/drivers/media/video/ivtv/ivtv-i2c.c
+++ b/drivers/media/video/ivtv/ivtv-i2c.c
@@ -64,8 +64,6 @@
64#include "ivtv-gpio.h" 64#include "ivtv-gpio.h"
65#include "ivtv-i2c.h" 65#include "ivtv-i2c.h"
66 66
67#include <media/ir-kbd-i2c.h>
68
69/* i2c implementation for cx23415/6 chip, ivtv project. 67/* i2c implementation for cx23415/6 chip, ivtv project.
70 * Author: Kevin Thayer (nufan_wfk at yahoo.com) 68 * Author: Kevin Thayer (nufan_wfk at yahoo.com)
71 */ 69 */
@@ -75,10 +73,6 @@
75#define IVTV_REG_I2C_GETSCL_OFFSET 0x7008 73#define IVTV_REG_I2C_GETSCL_OFFSET 0x7008
76#define IVTV_REG_I2C_GETSDA_OFFSET 0x700c 74#define IVTV_REG_I2C_GETSDA_OFFSET 0x700c
77 75
78#ifndef I2C_ADAP_CLASS_TV_ANALOG
79#define I2C_ADAP_CLASS_TV_ANALOG I2C_CLASS_TV_ANALOG
80#endif /* I2C_ADAP_CLASS_TV_ANALOG */
81
82#define IVTV_CS53L32A_I2C_ADDR 0x11 76#define IVTV_CS53L32A_I2C_ADDR 0x11
83#define IVTV_M52790_I2C_ADDR 0x48 77#define IVTV_M52790_I2C_ADDR 0x48
84#define IVTV_CX25840_I2C_ADDR 0x44 78#define IVTV_CX25840_I2C_ADDR 0x44
@@ -139,7 +133,7 @@ static const u8 hw_addrs[] = {
139static const char * const hw_devicenames[] = { 133static const char * const hw_devicenames[] = {
140 "cx25840", 134 "cx25840",
141 "saa7115", 135 "saa7115",
142 "saa7127", 136 "saa7127_auto", /* saa7127 or saa7129 */
143 "msp3400", 137 "msp3400",
144 "tuner", 138 "tuner",
145 "wm8775", 139 "wm8775",
@@ -732,6 +726,7 @@ int ivtv_saa7127(struct ivtv *itv, unsigned int cmd, void *arg)
732{ 726{
733 return ivtv_call_i2c_client(itv, IVTV_SAA7127_I2C_ADDR, cmd, arg); 727 return ivtv_call_i2c_client(itv, IVTV_SAA7127_I2C_ADDR, cmd, arg);
734} 728}
729EXPORT_SYMBOL(ivtv_saa7127);
735 730
736int ivtv_saa717x(struct ivtv *itv, unsigned int cmd, void *arg) 731int ivtv_saa717x(struct ivtv *itv, unsigned int cmd, void *arg)
737{ 732{