aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rt3070/common/2870_rtmp_init.c
diff options
context:
space:
mode:
authorAlessio Igor Bogani <abogani@texware.it>2009-03-24 19:30:26 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:36 -0700
commitd75b81a803bd93784d854bea13668db9dd75ff02 (patch)
tree1948803fc9e6e3b64bc10534f35ce25eb50785da /drivers/staging/rt3070/common/2870_rtmp_init.c
parentStaging: sxg: Add missing __devexit_p() (diff)
downloadlinux-dev-d75b81a803bd93784d854bea13668db9dd75ff02.tar.xz
linux-dev-d75b81a803bd93784d854bea13668db9dd75ff02.zip
Staging: rt3070: replace __FUNCTION__ usages
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Alessio Igor Bogani <abogani@texware.it> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt3070/common/2870_rtmp_init.c')
-rw-r--r--drivers/staging/rt3070/common/2870_rtmp_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rt3070/common/2870_rtmp_init.c b/drivers/staging/rt3070/common/2870_rtmp_init.c
index fdf8dc176a67..953ef541def2 100644
--- a/drivers/staging/rt3070/common/2870_rtmp_init.c
+++ b/drivers/staging/rt3070/common/2870_rtmp_init.c
@@ -1075,7 +1075,7 @@ PNDIS_PACKET GetPacketFromRxRing(
if (pRxWI->MPDUtotalByteCount > ThisFrameLen)
{
DBGPRINT(RT_DEBUG_ERROR, ("%s():pRxWIMPDUtotalByteCount(%d) large than RxDMALen(%ld)\n",
- __FUNCTION__, pRxWI->MPDUtotalByteCount, ThisFrameLen));
+ __func__, pRxWI->MPDUtotalByteCount, ThisFrameLen));
goto label_null;
}
#ifdef RT_BIG_ENDIAN
@@ -1086,7 +1086,7 @@ PNDIS_PACKET GetPacketFromRxRing(
pSkb = dev_alloc_skb(ThisFrameLen);
if (pSkb == NULL)
{
- DBGPRINT(RT_DEBUG_ERROR,("%s():Cannot Allocate sk buffer for this Bulk-In buffer!\n", __FUNCTION__));
+ DBGPRINT(RT_DEBUG_ERROR,("%s():Cannot Allocate sk buffer for this Bulk-In buffer!\n", __func__));
goto label_null;
}