From 727edb0b320e46acc8ab272fdec87e6444203bfe Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Sun, 14 Nov 2010 14:39:29 +0000 Subject: Return 0, (as for 40pin cable if SB not found) Signed-off-by: Rudolf Marek Acked-by: Rudolf Marek git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6070 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/asus/m2v/mainboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/asus/m2v/mainboard.c b/src/mainboard/asus/m2v/mainboard.c index 3d2c3cb8e4..76d3cf6c7a 100644 --- a/src/mainboard/asus/m2v/mainboard.c +++ b/src/mainboard/asus/m2v/mainboard.c @@ -35,11 +35,11 @@ u32 vt8237_ide_80pin_detect(struct device *dev) lpc_dev = dev_find_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VT8237A_LPC, 0); if (!lpc_dev) - return; + return 0; acpi_io_base = pci_read_config16(lpc_dev, 0x88); if (!acpi_io_base || (acpi_io_base & ~1) == 0) - return; + return 0; acpi_io_base &= ~1; gpio_in = inl(acpi_io_base + 0x48); -- cgit v1.2.3