]> Git Repo - J-u-boot.git/blame - common/log_console.c
common: board_r: Fix style violations
[J-u-boot.git] / common / log_console.c
CommitLineData
c6d47535
SG
1/*
2 * Logging support
3 *
4 * Copyright (c) 2017 Google, Inc
5 * Written by Simon Glass <[email protected]>
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10#include <common.h>
11#include <log.h>
12
13static int log_console_emit(struct log_device *ldev, struct log_rec *rec)
14{
15 puts(rec->msg);
16
17 return 0;
18}
19
20LOG_DRIVER(console) = {
21 .name = "console",
22 .emit = log_console_emit,
23};
This page took 0.029803 seconds and 4 git commands to generate.