1 /* Driver for Realtek RTS51xx USB card reader
4 * Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, see <http://www.gnu.org/licenses/>.
20 * wwang (wei_wang@realsil.com.cn)
21 * No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
23 * Edwin Rong (edwin_rong@realsil.com.cn)
24 * No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
27 #ifndef __RTS51X_DEBUG_H
28 #define __RTS51X_DEBUG_H
30 #include <linux/kernel.h>
32 #define RTS51X_TIP "rts51x: "
34 #ifdef CONFIG_RTS5139_DEBUG
35 #define RTS51X_DEBUGP(x...) printk(KERN_DEBUG RTS51X_TIP x)
36 #define RTS51X_DEBUGPN(x...) printk(KERN_DEBUG x)
37 #define RTS51X_DEBUGPX(x...) printk(x)
38 #define RTS51X_DEBUG(x) x
40 #define RTS51X_DEBUGP(x...)
41 #define RTS51X_DEBUGPN(x...)
42 #define RTS51X_DEBUGPX(x...)
43 #define RTS51X_DEBUG(x)
46 #endif /* __RTS51X_DEBUG_H */