]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/rt2870/rtmp_def.h
staging: __FUNCTION__ is gcc-specific, use __func__
[net-next-2.6.git] / drivers / staging / rt2870 / rtmp_def.h
index 9b86325b4c55998f4fc89580b400d4b170edd073..c0f7561a9d9df5d9cee55274ad1239b6de359531 100644 (file)
 /* sanity check for apidx */
 #define MBSS_MR_APIDX_SANITY_CHECK(apidx) \
     { if (apidx > MAX_MBSSID_NUM) { \
-          printk("%s> Error! apidx = %d > MAX_MBSSID_NUM!\n", __FUNCTION__, apidx); \
+          printk("%s> Error! apidx = %d > MAX_MBSSID_NUM!\n", __func__, apidx); \
          apidx = MAIN_MBSSID; } }
 
 #define VALID_WCID(_wcid)      ((_wcid) > 0 && (_wcid) < MAX_LEN_OF_MAC_TABLE )