qcacmn: Make hif_opaque_softc as global HIF context
Make hif_opaque_softc as global HIF Context and cleanup
ol_softc structure to bmi structure. No one else is using ol_softc
numbers.
Change-Id: Ib6447d2b67d41a30ec22903720900d7e4d55c7a9
CRs-Fixed: 967765
diff --git a/hif/src/ath_procfs.c b/hif/src/ath_procfs.c
index 2b25e3e..9b21ff0 100644
--- a/hif/src/ath_procfs.c
+++ b/hif/src/ath_procfs.c
@@ -54,9 +54,9 @@
static void *get_hif_hdl_from_file(struct file *file)
{
- struct ol_softc *scn;
+ struct hif_opaque_softc *scn;
- scn = (struct ol_softc *)PDE_DATA(file_inode(file));
+ scn = (struct hif_opaque_softc *)PDE_DATA(file_inode(file));
return (void *)scn;
}