From a09c93ad080c435e968c7e57c9846ace0ba7d14a Mon Sep 17 00:00:00 2001 From: Mahesh Kumar Kalikot Veetil Date: Thu, 27 Oct 2016 15:03:48 -0700 Subject: qcacld-3.0: Initialize debugfs support in QDF Invoke QDF debugfs API from CDS to initialize and cleanup. Change-Id: I8b67f46e94b08babee04102d65b7803e4db1da00 CRs-Fixed: 1083792 --- core/cds/inc/cds_api.h | 3 ++- core/cds/src/cds_api.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/cds/inc/cds_api.h b/core/cds/inc/cds_api.h index 12b583d53dd0..b74dd8e1f4da 100644 --- a/core/cds/inc/cds_api.h +++ b/core/cds/inc/cds_api.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index 46e1cd0ee111..df1c1055c642 100644 --- a/core/cds/src/cds_api.c +++ b/core/cds/src/cds_api.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -88,6 +88,7 @@ void cds_sys_probe_thread_cback(void *pUserData); */ v_CONTEXT_t cds_init(void) { + qdf_debugfs_init(); qdf_mem_init(); qdf_mc_timer_manager_init(); @@ -120,6 +121,7 @@ void cds_deinit(void) qdf_mc_timer_manager_exit(); qdf_mem_exit(); + qdf_debugfs_exit(); gp_cds_context->qdf_ctx = NULL; gp_cds_context = NULL; -- cgit v1.2.3