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
This commit is contained in:
@@ -46,7 +46,7 @@ static void nvram_on(struct device *dev)
|
||||
|
||||
static void southbridge_init(struct device *dev)
|
||||
{
|
||||
printk_spew("cs5535: %s\n", __FUNCTION__);
|
||||
printk_spew("cs5535: %s\n", __func__);
|
||||
nvram_on(dev);
|
||||
}
|
||||
|
||||
@@ -66,12 +66,12 @@ static void dump_south(struct device *dev)
|
||||
|
||||
static void southbridge_enable(struct device *dev)
|
||||
{
|
||||
printk_spew("%s: dev is %p\n", __FUNCTION__, dev);
|
||||
printk_spew("%s: dev is %p\n", __func__, dev);
|
||||
}
|
||||
|
||||
static void cs5535_pci_dev_enable_resources(device_t dev)
|
||||
{
|
||||
printk_spew("cs5535.c: %s()\n", __FUNCTION__);
|
||||
printk_spew("cs5535.c: %s()\n", __func__);
|
||||
pci_dev_enable_resources(dev);
|
||||
enable_childrens_resources(dev);
|
||||
}
|
||||
|
@@ -7,12 +7,12 @@
|
||||
|
||||
static void ide_init(struct device *dev)
|
||||
{
|
||||
printk_spew("cs5535_ide: %s\n", __FUNCTION__);
|
||||
printk_spew("cs5535_ide: %s\n", __func__);
|
||||
}
|
||||
|
||||
static void ide_enable(struct device *dev)
|
||||
{
|
||||
printk_spew("cs5535_ide: %s\n", __FUNCTION__);
|
||||
printk_spew("cs5535_ide: %s\n", __func__);
|
||||
}
|
||||
|
||||
static struct device_operations ide_ops = {
|
||||
|
@@ -579,7 +579,7 @@ static void southbridge_init(struct device *dev)
|
||||
* unsigned short gpiobase = MDD_GPIO;
|
||||
*/
|
||||
|
||||
printk_err("cs5536: %s\n", __FUNCTION__);
|
||||
printk_err("cs5536: %s\n", __func__);
|
||||
setup_i8259();
|
||||
lpc_init(sb);
|
||||
uarts_init(sb);
|
||||
@@ -591,7 +591,7 @@ static void southbridge_init(struct device *dev)
|
||||
(sb->enable_gpio_int_route >> 16));
|
||||
}
|
||||
|
||||
printk_err("cs5536: %s: enable_ide_nand_flash is %d\n", __FUNCTION__,
|
||||
printk_err("cs5536: %s: enable_ide_nand_flash is %d\n", __func__,
|
||||
sb->enable_ide_nand_flash);
|
||||
if (sb->enable_ide_nand_flash == 1) {
|
||||
enable_ide_nand_flash_header();
|
||||
@@ -610,13 +610,13 @@ static void southbridge_init(struct device *dev)
|
||||
|
||||
static void southbridge_enable(struct device *dev)
|
||||
{
|
||||
printk_err("cs5536: %s: dev is %p\n", __FUNCTION__, dev);
|
||||
printk_err("cs5536: %s: dev is %p\n", __func__, dev);
|
||||
|
||||
}
|
||||
|
||||
static void cs5536_pci_dev_enable_resources(device_t dev)
|
||||
{
|
||||
printk_err("cs5536: %s()\n", __FUNCTION__);
|
||||
printk_err("cs5536: %s()\n", __func__);
|
||||
pci_dev_enable_resources(dev);
|
||||
enable_childrens_resources(dev);
|
||||
}
|
||||
|
@@ -36,7 +36,7 @@ static void ide_init(struct device *dev)
|
||||
{
|
||||
uint32_t ide_cfg;
|
||||
|
||||
printk_spew("cs5536_ide: %s\n", __FUNCTION__);
|
||||
printk_spew("cs5536_ide: %s\n", __func__);
|
||||
/* GPIO and IRQ setup are handled in the main chipset code. */
|
||||
|
||||
// Enable the channel and Post Write Buffer
|
||||
@@ -49,7 +49,7 @@ static void ide_init(struct device *dev)
|
||||
static void ide_enable(struct device *dev)
|
||||
{
|
||||
|
||||
printk_spew("cs5536_ide: %s\n", __FUNCTION__);
|
||||
printk_spew("cs5536_ide: %s\n", __func__);
|
||||
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
|
@@ -20,7 +20,7 @@ static void ide_init(struct device *dev)
|
||||
* reason.
|
||||
*/
|
||||
printk_info("%s: enabling compatibility IDE addresses\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
enables = pci_read_config8(dev, 0x42);
|
||||
printk_debug("enables in reg 0x42 0x%x\n", enables);
|
||||
enables &= ~0xc0; // compatability mode
|
||||
|
@@ -57,7 +57,7 @@ static unsigned char *pin_to_irq(const unsigned char *pin)
|
||||
|
||||
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);
|
||||
|
||||
/* set up PCI IRQ routing */
|
||||
pci_write_config8(dev, 0x55, pciIrqs[0] << 4);
|
||||
@@ -97,7 +97,7 @@ static void pci_routing_fixup(struct device *dev)
|
||||
printk_info("setting riser slot\n");
|
||||
pci_assign_irqs(0, 0x13, pin_to_irq(riserPins));
|
||||
|
||||
printk_spew("%s: DONE\n", __FUNCTION__);
|
||||
printk_spew("%s: DONE\n", __func__);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user