linux/drivers/media/i2c/wm8739.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * wm8739
 *
 * Copyright (C) 2005 T. Adachi <[email protected]>
 *
 * Copyright (C) 2005 Hans Verkuil <[email protected]>
 * - Cleanup
 */

#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/ioctl.h>
#include <linux/uaccess.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ctrls.h>

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();

static int debug;

module_param(debug, int, 0644);

MODULE_PARM_DESC();


/* ------------------------------------------------------------------------ */

enum {};

struct wm8739_state {};

static inline struct wm8739_state *to_state(struct v4l2_subdev *sd)
{}

static inline struct v4l2_subdev *to_sd(struct v4l2_ctrl *ctrl)
{}

/* ------------------------------------------------------------------------ */

static int wm8739_write(struct v4l2_subdev *sd, int reg, u16 val)
{}

static int wm8739_s_ctrl(struct v4l2_ctrl *ctrl)
{}

/* ------------------------------------------------------------------------ */

static int wm8739_s_clock_freq(struct v4l2_subdev *sd, u32 audiofreq)
{}

static int wm8739_log_status(struct v4l2_subdev *sd)
{}

/* ----------------------------------------------------------------------- */

static const struct v4l2_ctrl_ops wm8739_ctrl_ops =;

static const struct v4l2_subdev_core_ops wm8739_core_ops =;

static const struct v4l2_subdev_audio_ops wm8739_audio_ops =;

static const struct v4l2_subdev_ops wm8739_ops =;

/* ------------------------------------------------------------------------ */

/* i2c implementation */

static int wm8739_probe(struct i2c_client *client)
{}

static void wm8739_remove(struct i2c_client *client)
{}

static const struct i2c_device_id wm8739_id[] =;
MODULE_DEVICE_TABLE(i2c, wm8739_id);

static struct i2c_driver wm8739_driver =;

module_i2c_driver();