mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
5682731907
PD#SWPL-103512 Problem: fix typo problem Solution: fix typo problem Verify: null Change-Id: I2f203535f2fefaca1fd4a018e08e670be36bc8b5 Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
37 lines
752 B
C
37 lines
752 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef CODEC_LOG_HEADER
|
|
#define CODEC_LOG_HEADER
|
|
|
|
#include<linux/printk.h>
|
|
|
|
#ifndef INFO_PREFIX
|
|
#define INFO_PREFIX "codec"
|
|
#endif
|
|
/*
|
|
*#define codec_print(KERN_LEVEL, args...) \
|
|
* printk(KERN_LEVEL INFO_PREFIX ":" args)
|
|
*/
|
|
#define codec_info(args...) pr_info(args)
|
|
#define codec_err(args...) pr_err(args)
|
|
#define codec_warning(args...) pr_warn(args)
|
|
/*
|
|
*#ifdef pr_info
|
|
*#undef pr_info
|
|
*#undef pr_err
|
|
*#undef pr_warn
|
|
*#undef pr_warning
|
|
*
|
|
*#define pr_info(args...) codec_info(args)
|
|
*#define pr_err(args...) codec_err(args)
|
|
*#define pr_warn(args...) codec_warning(args)
|
|
*#define pr_warning pr_warn
|
|
*
|
|
*
|
|
*#endif
|
|
*/
|
|
#endif
|