mmc_common.h

来自「The sd/mmc driver of linux 2.4.20 , it i」· C头文件 代码 · 共 49 行

H
49
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?