Pārlūkot izejas kodu

Merge "qcacld-3.0: Define A_OFFSETOF macro" into wlan-cld3.driver.lnx.2.0

CNSS_WLAN Service 3 gadi atpakaļ
vecāks
revīzija
27db587fb8
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      uapi/linux/osapi_linux.h

+ 2 - 1
uapi/linux/osapi_linux.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2018, 2021 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -73,6 +73,7 @@
 #define A_PRINTF(args ...) \
 	QDF_TRACE_ERROR(QDF_MODULE_ID_QDF, args)
 #define A_SNPRINTF(buf, len, args ...)   snprintf(buf, len, args)
+#define A_OFFSETOF(type, field)   offsetof(type, field)
 
 /*
  * Timer Functions