#define pr_fmt(fmt) "Synthetics: " fmt | |
#include <linux/module.h> | |
#include <linux/kernel.h> | |
#include "common.h" | |
#include "synth.h" | |
static int synth_init(void) | |
{ | |
int synth_or; | |
int val = 2; | |
synth_or = synth_init_or(val); | |
pr_info("synth_init_or(%d) returns: 0x%08X\n", val, synth_or); | |
return 0; | |
} | |
module_init(synth_init); | |
static void synth_exit(void) | |
{ | |
} | |
module_exit(synth_exit); |