1 /* Driver for Realtek PCI-Express card reader
2  * Header file
3  *
4  * Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved.
5  *
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
9  * later version.
10  *
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.
15  *
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/>.
18  *
19  * Author:
20  *   wwang (wei_wang@realsil.com.cn)
21  *   No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
22  */
23 
24 #ifndef __REALTEK_RTSX_DEBUG_H
25 #define __REALTEK_RTSX_DEBUG_H
26 
27 #include <linux/kernel.h>
28 
29 #define RTSX_STOR "rts_pstor: "
30 
31 #ifdef CONFIG_RTS_PSTOR_DEBUG
32 #define RTSX_DEBUGP(x...) printk(KERN_DEBUG RTSX_STOR x)
33 #define RTSX_DEBUGPN(x...) printk(KERN_DEBUG x)
34 #define RTSX_DEBUGPX(x...) printk(x)
35 #define RTSX_DEBUG(x) x
36 #else
37 #define RTSX_DEBUGP(x...)
38 #define RTSX_DEBUGPN(x...)
39 #define RTSX_DEBUGPX(x...)
40 #define RTSX_DEBUG(x)
41 #endif
42 
43 #endif   /* __REALTEK_RTSX_DEBUG_H */
44