From 552b327ca39f12b21a9e1a8dfdb71f3f26abf256 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Thu, 12 Feb 2009 21:30:06 +0000 Subject: This patch converts __FUNCTION__ to __func__, since __func__ is standard. Signed-off-by: Myles Watson Acked-by: Carl-Daniel Hailfinger git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3943 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/olpc/btest/mainboard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/olpc/btest') diff --git a/src/mainboard/olpc/btest/mainboard.c b/src/mainboard/olpc/btest/mainboard.c index f99872834a..acedff8d6e 100644 --- a/src/mainboard/olpc/btest/mainboard.c +++ b/src/mainboard/olpc/btest/mainboard.c @@ -104,7 +104,7 @@ static void init(struct device *dev) { unsigned char usbirq = 0xa; */ - printk_debug("OLPC BTEST ENTER %s\n", __FUNCTION__); + printk_debug("OLPC BTEST 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 @@ -112,7 +112,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"); @@ -123,7 +123,7 @@ static void init(struct device *dev) { init_dcon(); init_cafe_irq(); - printk_debug("OLPC BTEST EXIT %s\n", __FUNCTION__); + printk_debug("OLPC BTEST EXIT %s\n", __func__); } static void enable_dev(struct device *dev) -- cgit v1.2.3