aboutsummaryrefslogtreecommitdiff
path: root/include/mach
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach')
-rw-r--r--include/mach/mt_freqhopping_drv.h2
-rw-r--r--include/mach/mt_gpio_core.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mach/mt_freqhopping_drv.h b/include/mach/mt_freqhopping_drv.h
index c8f84316d..639a7b79b 100644
--- a/include/mach/mt_freqhopping_drv.h
+++ b/include/mach/mt_freqhopping_drv.h
@@ -88,7 +88,7 @@ struct mt_fh_hal_driver* mt_get_fh_hal_drv(void);
#define FH_BUG_ON(x) \
do { \
if((x)){ \
- printk("BUGON %s:%d %s:%d\n",__FUNCTION__,__LINE__,current->comm,current->pid); \
+ printk("BUGON %s:%d %s:%d\n",__func__,__LINE__,current->comm,current->pid); \
} \
} while(0);
diff --git a/include/mach/mt_gpio_core.h b/include/mach/mt_gpio_core.h
index 02f391608..a44582b49 100644
--- a/include/mach/mt_gpio_core.h
+++ b/include/mach/mt_gpio_core.h
@@ -24,7 +24,7 @@
#define GPIOLOG(fmt, arg...) printk(GPIOTAG fmt, ##arg)
#define GPIOMSG(fmt, arg...) printk(fmt, ##arg)
#define GPIOERR(fmt, arg...) printk(KERN_ERR GPIOTAG "%5d: "fmt, __LINE__, ##arg)
-#define GPIOFUC(fmt, arg...) /* printk(GPIOTAG "%s\n", __FUNCTION__) */
+#define GPIOFUC(fmt, arg...) /* printk(GPIOTAG "%s\n", __func__) */
/*----------------------------------------------------------------------------*/
/* Error Code No. */
#define RSUCCESS 0