This patch converts __FUNCTION__ to __func__, since __func__ is standard.
[coreboot.git] / src / mainboard / olpc / rev_a / mainboard.c
index e9f5cabf10c49b28825c3d7e9f60424b067d069d..a89abb505a558294e48dc853dd38379afeb5fdee 100644 (file)
@@ -76,7 +76,7 @@ static void init(struct device *dev) {
        unsigned char usbirq = 0xa;
 */
 
-       printk_debug("OLPC REVA ENTER %s\n", __FUNCTION__);
+       printk_debug("OLPC REVA ENTER %s\n", __func__);
 
 #if 0
        /* I can't think of any reason NOT to just set this. If it turns out we want this to be
@@ -84,7 +84,7 @@ static void init(struct device *dev) {
          */
 
        printk_debug("%s (%x,%x)SET USB PCI interrupt line to %d\n", 
-               __FUNCTION__, bus, devfn, usbirq);
+               __func__, bus, devfn, usbirq);
        usb = dev_find_slot(bus, devfn);
        if (! usb){
                printk_err("Could not find USB\n");
@@ -94,7 +94,7 @@ static void init(struct device *dev) {
 #endif
 
        init_dcon();
-       printk_debug("OLPC REVA EXIT %s\n", __FUNCTION__);
+       printk_debug("OLPC REVA EXIT %s\n", __func__);
 }
 
 static void enable_dev(struct device *dev)