Jelajahi Sumber

qcacld-3.0: Add PLD API to check if mode of interrupt is legacy

Add PLD API to check if mode of interrupt is legacy or not in PLD
layer. It can be used by HIF layer when required.

Change-Id: Iac6fbe01755e833c062fc08940dd07f11b3452fa
CRs-Fixed: 3126969
Vijay Patil 3 tahun lalu
induk
melakukan
aff4a6514a
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      core/pld/inc/pld_common.h

+ 5 - 0
core/pld/inc/pld_common.h

@@ -1215,4 +1215,9 @@ static inline int pfrm_write_config_dword(struct pci_dev *pdev, int offset,
 	return pld_pci_write_config_dword(pdev, offset, val);
 }
 
+static inline bool pld_get_enable_intx(struct device *dev)
+{
+	return false;
+}
+
 #endif