#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/gpio/consumer.h>
#include <linux/spi/spi.h>
#include <linux/delay.h>
#include "fbtft.h"
#define DRVNAME …
#define WIDTH …
#define HEIGHT …
#define BPP …
#define FPS …
static unsigned int ratio = …;
module_param(ratio, uint, 0000);
MODULE_PARM_DESC(…) …;
static unsigned int gain = …;
module_param(gain, uint, 0000);
MODULE_PARM_DESC(…) …;
static unsigned int pot = …;
module_param(pot, uint, 0000);
MODULE_PARM_DESC(…) …;
static unsigned int temp;
module_param(temp, uint, 0000);
MODULE_PARM_DESC(…) …;
static unsigned int load = …;
module_param(load, uint, 0000);
MODULE_PARM_DESC(…) …;
static unsigned int pump = …;
module_param(pump, uint, 0000);
MODULE_PARM_DESC(…) …;
static int init_display(struct fbtft_par *par)
{ … }
static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
{ … }
static int blank(struct fbtft_par *par, bool on)
{ … }
static int set_var(struct fbtft_par *par)
{ … }
static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
{ … }
static struct fbtft_display display = …;
FBTFT_REGISTER_DRIVER(…);
MODULE_ALIAS(…) …;
MODULE_ALIAS(…) …;
MODULE_ALIAS(…) …;
MODULE_ALIAS(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;