#include "sn9c102_devtable.h"
 
 
-static int hv7131r_init(struct sn9c102_device* cam)
+static int hv7131r_init(struct sn9c102_device *cam)
 {
        int err = 0;
 
 }
 
 
-static int hv7131r_get_ctrl(struct sn9c102_device* cam,
-                           struct v4l2_control* ctrl)
+static int hv7131r_get_ctrl(struct sn9c102_device *cam,
+                           struct v4l2_control *ctrl)
 {
        switch (ctrl->id) {
        case V4L2_CID_GAIN:
 }
 
 
-static int hv7131r_set_ctrl(struct sn9c102_device* cam,
-                           const struct v4l2_control* ctrl)
+static int hv7131r_set_ctrl(struct sn9c102_device *cam,
+                           const struct v4l2_control *ctrl)
 {
        int err = 0;
 
        case V4L2_CID_BLACK_LEVEL:
                {
                        int r = sn9c102_i2c_read(cam, 0x01);
+
                        if (r < 0)
                                return -EIO;
                        err += sn9c102_i2c_write(cam, 0x01,
 }
 
 
-static int hv7131r_set_crop(struct sn9c102_device* cam,
-                           const struct v4l2_rect* rect)
+static int hv7131r_set_crop(struct sn9c102_device *cam,
+                           const struct v4l2_rect *rect)
 {
-       struct sn9c102_sensor* s = sn9c102_get_sensor(cam);
+       struct sn9c102_sensor *s = sn9c102_get_sensor(cam);
        int err = 0;
        u8 h_start = (u8)(rect->left - s->cropcap.bounds.left) + 1,
           v_start = (u8)(rect->top - s->cropcap.bounds.top) + 1;
 }
 
 
-static int hv7131r_set_pix_format(struct sn9c102_device* cam,
-                                 const struct v4l2_pix_format* pix)
+static int hv7131r_set_pix_format(struct sn9c102_device *cam,
+                                 const struct v4l2_pix_format *pix)
 {
        int err = 0;
 
 };
 
 
-int sn9c102_probe_hv7131r(struct sn9c102_device* cam)
+int sn9c102_probe_hv7131r(struct sn9c102_device *cam)
 {
        int devid, err;