treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156
[linux-block.git] / drivers / media / pci / ivtv / ivtv-i2c.h
CommitLineData
1a59d1b8 1/* SPDX-License-Identifier: GPL-2.0-or-later */
1a0adaf3
HV
2/*
3 I2C functions
4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
6
1a0adaf3
HV
7 */
8
612570f2
HV
9#ifndef IVTV_I2C_H
10#define IVTV_I2C_H
11
bfbde8ee 12struct i2c_client *ivtv_i2c_new_ir_legacy(struct ivtv *itv);
d9009201 13int ivtv_i2c_register(struct ivtv *itv, unsigned idx);
67ec09fd 14struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw);
1a0adaf3 15
a824f0f4 16/* init + register i2c adapter */
056827a4 17int init_ivtv_i2c(struct ivtv *itv);
bb374b7b 18void exit_ivtv_i2c(struct ivtv *itv);
612570f2
HV
19
20#endif