qcacmn: Make hif_device_id an opaque type

If different busses cannot agree upon a common hif_device_id type,
we need to make it an opaque type in the general case and only
cast it in the bus specific code.

Change-Id: I769d65f10421caf07c8f5cc35ccfe11302485576
CRs-Fixed: 986480
This commit is contained in:
Houston Hoffman
2016-03-14 21:11:42 -07:00
zatwierdzone przez Vishwajith Upendra
rodzic d2ac86c794
commit f303f91734
2 zmienionych plików z 5 dodań i 9 usunięć

Wyświetl plik

@@ -371,13 +371,8 @@ struct hif_msg_callbacks {
#define HIF_DATA_ATTR_SET_ENABLE_11H(attr, v) \
(attr |= (v & 0x01) << 30)
#ifdef HIF_PCI
typedef struct pci_device_id hif_bus_id;
#endif
#ifdef HIF_SNOC
typedef struct device hif_bus_id;
#endif
struct hif_bus_id;
typedef struct hif_bus_id hif_bus_id;
void hif_post_init(struct hif_opaque_softc *scn, void *hHTC,
struct hif_msg_callbacks *callbacks);