aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia/nvidia.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/nvidia/nvidia.c')
-rw-r--r--drivers/video/nvidia/nvidia.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 4f46e9cf8cca..9dbb5a5a267b 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -43,14 +43,14 @@
43#define NVTRACE if (0) printk 43#define NVTRACE if (0) printk
44#endif 44#endif
45 45
46#define NVTRACE_ENTER(...) NVTRACE("%s START\n", __FUNCTION__) 46#define NVTRACE_ENTER(...) NVTRACE("%s START\n", __func__)
47#define NVTRACE_LEAVE(...) NVTRACE("%s END\n", __FUNCTION__) 47#define NVTRACE_LEAVE(...) NVTRACE("%s END\n", __func__)
48 48
49#ifdef CONFIG_FB_NVIDIA_DEBUG 49#ifdef CONFIG_FB_NVIDIA_DEBUG
50#define assert(expr) \ 50#define assert(expr) \
51 if (!(expr)) { \ 51 if (!(expr)) { \
52 printk( "Assertion failed! %s,%s,%s,line=%d\n",\ 52 printk( "Assertion failed! %s,%s,%s,line=%d\n",\
53 #expr,__FILE__,__FUNCTION__,__LINE__); \ 53 #expr,__FILE__,__func__,__LINE__); \
54 BUG(); \ 54 BUG(); \
55 } 55 }
56#else 56#else