qcacmn: Fix compile error issue
Fix no member named 'pm_dentry' issue if set WLAN_OPEN_SOURCE=n. Change-Id: Iadc01285a76385b7d9a696824afcc88964c10014 CRs-Fixed: 3177555
This commit is contained in:

committed by
Madan Koyyalamudi

parent
7685147fb3
commit
d74a42a737
@@ -304,6 +304,7 @@ static const struct file_operations hif_pci_runtime_pm_fops = {
|
||||
.llseek = seq_lseek,
|
||||
};
|
||||
|
||||
#ifdef WLAN_OPEN_SOURCE
|
||||
/**
|
||||
* hif_runtime_pm_debugfs_create() - creates runtimepm debugfs entry
|
||||
* @scn: hif context
|
||||
@@ -333,6 +334,13 @@ static void hif_runtime_pm_debugfs_remove(struct hif_softc *scn)
|
||||
|
||||
qdf_debugfs_remove_file(rpm_ctx->pm_dentry);
|
||||
}
|
||||
#else
|
||||
static inline void hif_runtime_pm_debugfs_remove(struct hif_softc *scn)
|
||||
{}
|
||||
|
||||
static inline void hif_runtime_pm_debugfs_create(struct hif_softc *scn)
|
||||
{}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* hif_runtime_init() - Initialize Runtime PM
|
||||
|
Reference in New Issue
Block a user