summaryrefslogtreecommitdiffstats
path: root/drivers/video/matrox/matroxfb_maven.h
blob: 060aa0b818641f36a77ccb2168d5266367571b78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __MATROXFB_MAVEN_H__
#define __MATROXFB_MAVEN_H__

#include <linux/ioctl.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "matroxfb_base.h"

struct matroxfb_dh_maven_info;

struct i2c_bit_adapter {
	struct i2c_adapter		adapter;
	int				initialized;
	struct i2c_algo_bit_data	bac;
	struct matroxfb_dh_maven_info  *minfo;
};

struct matroxfb_dh_maven_info {
	struct matrox_fb_info*	primary_dev;

	struct i2c_bit_adapter	maven;
	struct i2c_bit_adapter	ddc1;
	struct i2c_bit_adapter	ddc2;
};

#endif /* __MATROXFB_MAVEN_H__ */