/* SPDX-License-Identifier: GPL-2.0-only */ /* * drivers/media/platform/samsung/s5p-mfc/s5p_mfc_debug.h * * Header file for Samsung MFC (Multi Function Codec - FIMV) driver * This file contains debug macros * * Kamil Debski, Copyright (c) 2011 Samsung Electronics * http://www.samsung.com/ */ #ifndef S5P_MFC_DEBUG_H_ #define S5P_MFC_DEBUG_H_ #define DEBUG #ifdef DEBUG extern int mfc_debug_level; #define mfc_debug(level, fmt, args...) … #else #define mfc_debug … #endif #define mfc_debug_enter() … #define mfc_debug_leave() … #define mfc_err(fmt, args...) … #define mfc_err_limited(fmt, args...) … #define mfc_info(fmt, args...) … #endif /* S5P_MFC_DEBUG_H_ */