summaryrefslogtreecommitdiff
path: root/drivers/media/pci/mantis/mantis_i2c.h
blob: aaa53d8e13bd685d7046e2e709a0a9ef5a21e94e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
	Mantis PCI bridge driver

	Copyright (C) Manu Abraham (abraham.manu@gmail.com)

*/

#ifndef __MANTIS_I2C_H
#define __MANTIS_I2C_H

#define I2C_STOP		(1 <<  0)
#define I2C_READ		(1 <<  1)

extern int mantis_i2c_init(struct mantis_pci *mantis);
extern int mantis_i2c_exit(struct mantis_pci *mantis);

#endif /* __MANTIS_I2C_H */