📄 mmc_common.h
字号:
/* * Header for MultiMediaCard (MMC) * * Copyright 2002 Hewlett-Packard Company * * Use consistent with the GNU GPL is permitted, * provided that this copyright notice is * preserved in its entirety in all copies and derived works. * * HEWLETT-PACKARD COMPANY MAKES NO WARRANTIES, EXPRESSED OR IMPLIED, * AS TO THE USEFULNESS OR CORRECTNESS OF THIS CODE OR ITS * FITNESS FOR ANY PARTICULAR PURPOSE. * * Many thanks to Alessandro Rubini and Jonathan Corbet! * * Based strongly on code by: * * Author: Yong-iL Joh <tolkien@mizi.com> * Date : $Date: 2002/06/10 13:15:56 $ * * Author: Andrew Christian * 15 May 2002 */#ifndef MMC_MMC_COMMON_H#define MMC_MMC_COMMON_H#ifdef CONFIG_MMC_DEBUG#ifndef CONFIG_MMC_DEBUG_VERBOSE#define CONFIG_MMC_DEBUG_VERBOSE 3#endifextern int g_mmc_debug;#define DEBUG(n, args...) \ if (n <= g_mmc_debug) { \ printk(KERN_INFO __FUNCTION__ args); \ }#define MMC_DEBUG DEBUG#define START_DEBUG(n) do { if (n <= g_mmc_debug)#define END_DEBUG } while (0)#else#define DEBUG(n, args...)#define START_DEBUG(n)#define END_DEBUG#endif /* CONFIG_MMC_DEBUG */#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -