qcacld-3.0: Remove ifdef HIF_PCI from ol_fw

The target defs need to be protected by a chip specific flag if
at all.  A bus flag is too generic.

Change-Id: I631b9686b69dcba0a47bf10bccf7f94ac3a4bd9c
CRs-Fixed: 986480
This commit is contained in:
Houston Hoffman 2016-03-10 11:56:31 -08:00 • committed by Gerrit - the friendly Code Review server
commit e3846e4b48
2 changed files with 0 additions and 10 deletions

View file

@ -33,7 +33,6 @@
#define AR6320_REV2_1_REG_SIZE 0x0007F820
#define AR6320_REV3_REG_SIZE 0x0007F820
#ifdef HIF_PCI
/*
* Redefine the register list. To minimize the size of the array, the list must
* obey the below format. {start0, end0}, {start1, end1}, {start2, end2}.......
@ -603,5 +602,4 @@ static const tgt_reg_section ar6320v3_reg_table[] = {
{0x80000, 0x8000C},
{0x80010, 0x80020},
};
#endif
#endif /* #ifndef _AR6320V2_DBG_REGTABLE_H_ */

View file

@ -1427,7 +1427,6 @@ int ol_diag_read(struct hif_opaque_softc *scn, uint8_t *buffer,
return -EIO;
}
#ifdef HIF_PCI
static int ol_ath_get_reg_table(uint32_t target_version,
tgt_reg_table *reg_table)
{
@ -1528,13 +1527,6 @@ static int ol_diag_read_reg_loc(struct hif_opaque_softc *scn, uint8_t *buffer,
out:
return result;
}
#else
static int ol_diag_read_reg_loc(struct hif_opaque_softc *scn, uint8_t *buffer,
uint32_t buffer_len)
{
return -EINVAL;
}
#endif
void ol_dump_target_memory(struct hif_opaque_softc *scn, void *memory_block)
{