Yue Ma | 0d4891e | 2013-08-06 17:01:45 -0700 | [diff] [blame] | 1 | /* |
Madan Mohan Koyyalamudi | 027c367 | 2013-08-21 17:21:17 -0700 | [diff] [blame^] | 2 | * Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 3 | * |
| 4 | * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| 5 | * |
| 6 | * |
| 7 | * Permission to use, copy, modify, and/or distribute this software for |
| 8 | * any purpose with or without fee is hereby granted, provided that the |
| 9 | * above copyright notice and this permission notice appear in all |
| 10 | * copies. |
| 11 | * |
| 12 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 13 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 14 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 15 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 16 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 17 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 18 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 19 | * PERFORMANCE OF THIS SOFTWARE. |
| 20 | */ |
Yue Ma | 0d4891e | 2013-08-06 17:01:45 -0700 | [diff] [blame] | 21 | |
| 22 | #ifndef _WLAN_HDD_DEBUGFS_H |
| 23 | #define _WLAN_HDD_DEBUGFS_H |
| 24 | |
| 25 | #ifdef WLAN_OPEN_SOURCE |
| 26 | VOS_STATUS hdd_debugfs_init(hdd_adapter_t *pAdapter); |
| 27 | void hdd_debugfs_exit(hdd_context_t *pHddCtx); |
| 28 | #else |
| 29 | inline VOS_STATUS hdd_debugfs_init(hdd_adapter_t *pAdapter) |
| 30 | { |
| 31 | return VOS_STATUS_SUCCESS; |
| 32 | } |
| 33 | inline void hdd_debugfs_exit(hdd_context_t *pHddCtx) |
| 34 | { |
| 35 | } |
Yue Ma | b9c86f4 | 2013-08-14 15:59:08 -0700 | [diff] [blame] | 36 | #endif /* #ifdef WLAN_OPEN_SOURCE */ |
Yue Ma | 0d4891e | 2013-08-06 17:01:45 -0700 | [diff] [blame] | 37 | #endif /* #ifndef _WLAN_HDD_DEBUGFS_H */ |
| 38 | |