#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/list.h>
#include <linux/uaccess.h>
#include <linux/irq.h>
#include <video/hecubafb.h>
static unsigned long dio_addr;
static unsigned long cio_addr;
static unsigned long c2io_addr;
static unsigned long splashval;
static unsigned int nosplash;
static unsigned char ctl;
static void n411_set_ctl(struct hecubafb_par *par, unsigned char bit, unsigned
char state)
{ … }
static unsigned char n411_get_ctl(struct hecubafb_par *par)
{ … }
static void n411_set_data(struct hecubafb_par *par, unsigned char value)
{ … }
static void n411_wait_for_ack(struct hecubafb_par *par, int clear)
{ … }
static int n411_init_control(struct hecubafb_par *par)
{ … }
static int n411_init_board(struct hecubafb_par *par)
{ … }
static struct hecuba_board n411_board = …;
static struct platform_device *n411_device;
static int __init n411_init(void)
{ … }
static void __exit n411_exit(void)
{ … }
module_init(…) …;
module_exit(n411_exit);
module_param(nosplash, uint, 0);
MODULE_PARM_DESC(…) …;
module_param_hw(dio_addr, ulong, ioport, 0);
MODULE_PARM_DESC(…) …;
module_param_hw(cio_addr, ulong, ioport, 0);
MODULE_PARM_DESC(…) …;
module_param_hw(c2io_addr, ulong, ioport, 0);
MODULE_PARM_DESC(…) …;
module_param(splashval, ulong, 0);
MODULE_PARM_DESC(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;