summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/net2280.h
diff options
context:
space:
mode:
authorHarvey Harrison2008-03-04 01:08:34 +0100
committerGreg Kroah-Hartman2008-04-25 06:16:55 +0200
commit441b62c1edb986827154768d89bbac0ba779984f (patch)
tree13724c22d1b190a36f0ddbba38554e6c66bea6af /drivers/usb/gadget/net2280.h
parentUSB: usbfs: export the URB_NO_INTERRUPT flag to userspace (diff)
downloadkernel-qcow2-linux-441b62c1edb986827154768d89bbac0ba779984f.tar.gz
kernel-qcow2-linux-441b62c1edb986827154768d89bbac0ba779984f.tar.xz
kernel-qcow2-linux-441b62c1edb986827154768d89bbac0ba779984f.zip
USB: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/net2280.h')
-rw-r--r--drivers/usb/gadget/net2280.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/net2280.h b/drivers/usb/gadget/net2280.h
index 44ca139983d8..1f2af398a9a4 100644
--- a/drivers/usb/gadget/net2280.h
+++ b/drivers/usb/gadget/net2280.h
@@ -299,7 +299,7 @@ static inline void assert_out_naking (struct net2280_ep *ep, const char *where)
&ep->regs->ep_rsp);
}
}
-#define ASSERT_OUT_NAKING(ep) assert_out_naking(ep,__FUNCTION__)
+#define ASSERT_OUT_NAKING(ep) assert_out_naking(ep,__func__)
#else
#define ASSERT_OUT_NAKING(ep) do {} while (0)
#endif