qcacmn: Carve Out hif_softc out of ol_softc

Carve out hif_softc for internal hif usage.
ol_softc acts a opaque handle to other modules.

Change-Id: I7633e70ed82fe2ee88a21e2502177d6a7388ff56
CRs-Fixed: 967765
This commit is contained in:
Komal Seelam
2016-02-22 20:45:49 +05:30
committed by Houston Hoffman
parent 02cf2f8509
commit 644263d323
25 changed files with 610 additions and 537 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2015 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -34,10 +34,10 @@
#include "ar6320v2def.h"
#include "qca6180def.h"
#include "ol_if_athvar.h"
#include "hif.h"
#include "hif_main.h"
#include "adrastea_reg_def.h"
void target_register_tbl_attach(struct ol_softc *scn, u32 target_type)
void target_register_tbl_attach(struct hif_softc *scn, u32 target_type)
{
switch (target_type) {
case TARGET_TYPE_AR9888:
@@ -65,7 +65,7 @@ void target_register_tbl_attach(struct ol_softc *scn, u32 target_type)
}
}
void hif_register_tbl_attach(struct ol_softc *scn, u32 hif_type)
void hif_register_tbl_attach(struct hif_softc *scn, u32 hif_type)
{
switch (hif_type) {
case HIF_TYPE_AR9888: