summaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8231
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-02-12 21:30:06 +0000
committerMyles Watson <mylesgw@gmail.com>2009-02-12 21:30:06 +0000
commit552b327ca39f12b21a9e1a8dfdb71f3f26abf256 (patch)
tree6b47a55381e7cbe3c58afec9db4612d32fc5dfd3 /src/southbridge/via/vt8231
parent7f86ed122068f34de4e8723b83e0d9b053cea9a2 (diff)
downloadcoreboot-552b327ca39f12b21a9e1a8dfdb71f3f26abf256.tar.xz
This patch converts __FUNCTION__ to __func__, since __func__ is standard.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3943 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/via/vt8231')
-rw-r--r--src/southbridge/via/vt8231/vt8231_ide.c2
-rw-r--r--src/southbridge/via/vt8231/vt8231_lpc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/via/vt8231/vt8231_ide.c b/src/southbridge/via/vt8231/vt8231_ide.c
index dfb8c9920e..3cfa01ea45 100644
--- a/src/southbridge/via/vt8231/vt8231_ide.c
+++ b/src/southbridge/via/vt8231/vt8231_ide.c
@@ -20,7 +20,7 @@ static void ide_init(struct device *dev)
*/
/*
- printk_info("%s: enabling compatibility IDE addresses\n", __FUNCTION__);
+ printk_info("%s: enabling compatibility IDE addresses\n", __func__);
enables = pci_read_config8(dev, 0x42);
printk_debug("enables in reg 0x42 0x%x\n", enables);
enables &= ~0xc0; // compatability mode
diff --git a/src/southbridge/via/vt8231/vt8231_lpc.c b/src/southbridge/via/vt8231/vt8231_lpc.c
index 54eef96973..4b906359b0 100644
--- a/src/southbridge/via/vt8231/vt8231_lpc.c
+++ b/src/southbridge/via/vt8231/vt8231_lpc.c
@@ -24,7 +24,7 @@ static const unsigned char slotIrqs[4] = { 5, 10, 12, 11 };
static void pci_routing_fixup(struct device *dev)
{
- printk_info("%s: dev is %p\n", __FUNCTION__, dev);
+ printk_info("%s: dev is %p\n", __func__, dev);
if (dev) {
/* initialize PCI interupts - these assignments depend
on the PCB routing of PINTA-D
@@ -50,7 +50,7 @@ static void pci_routing_fixup(struct device *dev)
// PCI slot
printk_info("setting pci slot\n");
pci_assign_irqs(0, 0x14, slotIrqs);
- printk_info("%s: DONE\n", __FUNCTION__);
+ printk_info("%s: DONE\n", __func__);
}
static void vt8231_init(struct device *dev)