#include <linux/aperture.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/screen_info.h>
#include <linux/io.h>
#include <video/vga.h>
#define dac_reg …
#define dac_val …
struct vesafb_par { … };
static struct fb_var_screeninfo vesafb_defined = …;
static struct fb_fix_screeninfo vesafb_fix = …;
static int inverse __read_mostly;
static int mtrr __read_mostly;
static int vram_remap;
static int vram_total;
static int pmi_setpal __read_mostly = …;
static int ypan __read_mostly;
static void (*pmi_start)(void) __read_mostly;
static void (*pmi_pal) (void) __read_mostly;
static int depth __read_mostly;
static int vga_compat __read_mostly;
static int vesafb_pan_display(struct fb_var_screeninfo *var,
struct fb_info *info)
{ … }
static int vesa_setpalette(int regno, unsigned red, unsigned green,
unsigned blue)
{ … }
static int vesafb_setcolreg(unsigned regno, unsigned red, unsigned green,
unsigned blue, unsigned transp,
struct fb_info *info)
{ … }
static void vesafb_destroy(struct fb_info *info)
{ … }
static struct fb_ops vesafb_ops = …;
static int vesafb_setup(char *options)
{ … }
static int vesafb_probe(struct platform_device *dev)
{ … }
static void vesafb_remove(struct platform_device *pdev)
{ … }
static struct platform_driver vesafb_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;