Pārlūkot izejas kodu

qcacmn: Add QDF_BUS_TYPE_NONE for error check

Add QDF_BUS_YTPE_NONE in qdf_bus_type, which is used to represent
error bus type.

Change-Id: I274a795d32b2a5581b8849f5827cb8ac3bbf169b
CRs-Fixed: 1000113
Yuanyuan Liu 9 gadi atpakaļ
vecāks
revīzija
bc8441f46f
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      qdf/linux/src/i_qdf_types.h

+ 3 - 1
qdf/linux/src/i_qdf_types.h

@@ -149,13 +149,15 @@ struct __qdf_mempool_ctxt;
 
 /**
  * enum qdf_bus_type - Supported Bus types
+ * @QDF_BUS_TYPE_NONE: None Bus type for error check
  * @QDF_BUS_TYPE_PCI: PCI Bus
  * @QDF_BUS_TYPE_AHB: AHB Bus
  * @QDF_BUS_TYPE_SNOC: SNOC Bus
  * @QDF_BUS_TYPE_SIM: Simulator
  */
 enum qdf_bus_type {
-	QDF_BUS_TYPE_PCI,
+	QDF_BUS_TYPE_NONE = -1,
+	QDF_BUS_TYPE_PCI = 0,
 	QDF_BUS_TYPE_AHB,
 	QDF_BUS_TYPE_SNOC,
 	QDF_BUS_TYPE_SIM