#ifndef __RIVAFB_H
#define __RIVAFB_H
#include <linux/fb.h>
#include <video/vga.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "riva_hw.h"
#define NUM_SEQ_REGS …
#define NUM_CRT_REGS …
#define NUM_GRC_REGS …
#define NUM_ATC_REGS …
#define DDC_SCL_READ_MASK …
#define DDC_SCL_WRITE_MASK …
#define DDC_SDA_READ_MASK …
#define DDC_SDA_WRITE_MASK …
struct riva_regs { … };
struct riva_par;
struct riva_i2c_chan { … };
struct riva_par { … };
void riva_common_setup(struct riva_par *);
unsigned long riva_get_memlen(struct riva_par *);
unsigned long riva_get_maxdclk(struct riva_par *);
void riva_delete_i2c_busses(struct riva_par *par);
void riva_create_i2c_busses(struct riva_par *par);
int riva_probe_i2c_connector(struct riva_par *par, int conn, u8 **out_edid);
#endif