diff options
Diffstat (limited to 'drivers/media/video/smiapp/smiapp-regs.h')
-rw-r--r-- | drivers/media/video/smiapp/smiapp-regs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/smiapp/smiapp-regs.h b/drivers/media/video/smiapp/smiapp-regs.h index 58e8009d4aa5..1edfd206fb76 100644 --- a/drivers/media/video/smiapp/smiapp-regs.h +++ b/drivers/media/video/smiapp/smiapp-regs.h @@ -40,7 +40,9 @@ struct smia_reg { u32 val; /* 8/16/32-bit value */ }; -int smiapp_read(struct i2c_client *client, u32 reg, u32 *val); -int smiapp_write(struct i2c_client *client, u32 reg, u32 val); +struct smiapp_sensor; + +int smiapp_read(struct smiapp_sensor *sensor, u32 reg, u32 *val); +int smiapp_write(struct smiapp_sensor *sensor, u32 reg, u32 val); #endif |