#define pr_fmt(fmt) …
#include <linux/kthread.h>
#include "m5602_s5k83a.h"
static int s5k83a_s_ctrl(struct v4l2_ctrl *ctrl);
static const struct v4l2_ctrl_ops s5k83a_ctrl_ops = …;
static struct v4l2_pix_format s5k83a_modes[] = …;
static const unsigned char preinit_s5k83a[][4] = …;
static const unsigned char init_s5k83a[][4] = …;
static const unsigned char start_s5k83a[][4] = …;
static void s5k83a_dump_registers(struct sd *sd);
static int s5k83a_get_rotation(struct sd *sd, u8 *reg_data);
static int s5k83a_set_led_indication(struct sd *sd, u8 val);
static int s5k83a_set_flip_real(struct gspca_dev *gspca_dev,
__s32 vflip, __s32 hflip);
int s5k83a_probe(struct sd *sd)
{ … }
int s5k83a_init(struct sd *sd)
{ … }
int s5k83a_init_controls(struct sd *sd)
{ … }
static int rotation_thread_function(void *data)
{ … }
int s5k83a_start(struct sd *sd)
{ … }
int s5k83a_stop(struct sd *sd)
{ … }
void s5k83a_disconnect(struct sd *sd)
{ … }
static int s5k83a_set_gain(struct gspca_dev *gspca_dev, __s32 val)
{ … }
static int s5k83a_set_brightness(struct gspca_dev *gspca_dev, __s32 val)
{ … }
static int s5k83a_set_exposure(struct gspca_dev *gspca_dev, __s32 val)
{ … }
static int s5k83a_set_flip_real(struct gspca_dev *gspca_dev,
__s32 vflip, __s32 hflip)
{ … }
static int s5k83a_set_hvflip(struct gspca_dev *gspca_dev)
{ … }
static int s5k83a_s_ctrl(struct v4l2_ctrl *ctrl)
{ … }
static int s5k83a_set_led_indication(struct sd *sd, u8 val)
{ … }
static int s5k83a_get_rotation(struct sd *sd, u8 *reg_data)
{ … }
static void s5k83a_dump_registers(struct sd *sd)
{ … }