]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/otus/80211core/pub_zfw.h
staging: __FUNCTION__ is gcc-specific, use __func__
[linux-2.6-omap-h63xx.git] / drivers / staging / otus / 80211core / pub_zfw.h
index 01a227216726873cf1fc75cf80163e10721999aa..2474bb7536e89b8c26b7f35166c33cf1ec03eb31 100644 (file)
@@ -23,7 +23,7 @@
 /* Buffer management */
 #ifdef ZM_ENABLE_BUFFER_DEBUG
 extern zbuf_t* zfwBufAllocateWithContext(zdev_t* dev, u16_t len, u8_t *functionName, ULONG line);
-#define zfwBufAllocate(dev, len)  zfwBufAllocateWithContext(dev, len, (u8_t *)__FUNCTION__, __LINE__)
+#define zfwBufAllocate(dev, len)  zfwBufAllocateWithContext(dev, len, (u8_t *)__func__, __LINE__)
 #else
 extern zbuf_t* zfwBufAllocate(zdev_t* dev, u16_t len);
 #endif