]>
Commit | Line | Data |
---|---|---|
fa590c22 MC |
1 | /* Driver for Realtek PCI-Express card reader |
2 | * Header file | |
3 | * | |
4 | * Copyright(c) 2009-2013 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 | * Wei WANG ([email protected]) | |
21 | * Micky Ching ([email protected]) | |
22 | */ | |
23 | ||
24 | #ifndef __REALTEK_RTSX_TRACE_H | |
25 | #define __REALTEK_RTSX_TRACE_H | |
26 | ||
031366ea | 27 | struct rtsx_chip; |
fa590c22 MC |
28 | |
29 | #ifdef _MSG_TRACE | |
031366ea JP |
30 | void _rtsx_trace(struct rtsx_chip *chip, const char *file, const char *func, |
31 | int line); | |
32 | #define rtsx_trace(chip) \ | |
33 | _rtsx_trace(chip, __FILE__, __func__, __LINE__) | |
34 | #else | |
35 | static inline void rtsx_trace(struct rtsx_chip *chip) | |
fa590c22 | 36 | { |
fa590c22 | 37 | } |
fa590c22 MC |
38 | #endif |
39 | ||
fa590c22 | 40 | #endif /* __REALTEK_RTSX_TRACE_H */ |