linux/drivers/hwtracing/stm/console.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Simple kernel console driver for STM devices
 * Copyright (c) 2014, Intel Corporation.
 *
 * STM console will send kernel messages over STM devices to a trace host.
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/console.h>
#include <linux/slab.h>
#include <linux/stm.h>

static int stm_console_link(struct stm_source_data *data);
static void stm_console_unlink(struct stm_source_data *data);

static struct stm_console {} stm_console =;

static void
stm_console_write(struct console *con, const char *buf, unsigned len)
{}

static int stm_console_link(struct stm_source_data *data)
{}

static void stm_console_unlink(struct stm_source_data *data)
{}

static int stm_console_init(void)
{}

static void stm_console_exit(void)
{}

module_init();
module_exit(stm_console_exit);

MODULE_LICENSE();
MODULE_DESCRIPTION();
MODULE_AUTHOR();