aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/via/vt8237r/vt8237r_ide.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-19 16:21:30 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-19 16:21:30 +0000
commitec0ee64da7aa7e569da7d55ef86804d9b7fbea1b (patch)
treeb90a7f3399c77007c9fc80bc9ff475dd3ff65dad /src/southbridge/via/vt8237r/vt8237r_ide.c
parenta29ad5cb09c1fd983bbace35185148630c62de5d (diff)
Clean up some #ifdef CONFIG_*
Change HAVE_FAN_CTL to be specific to the SuperIO that supports it. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4809 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/via/vt8237r/vt8237r_ide.c')
-rw-r--r--src/southbridge/via/vt8237r/vt8237r_ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/via/vt8237r/vt8237r_ide.c b/src/southbridge/via/vt8237r/vt8237r_ide.c
index acec09ef40..6a4ca389be 100644
--- a/src/southbridge/via/vt8237r/vt8237r_ide.c
+++ b/src/southbridge/via/vt8237r/vt8237r_ide.c
@@ -97,7 +97,7 @@ static void ide_init(struct device *dev)
(sb->ide1_80pin_cable << 4);
pci_write_config32(dev, IDE_UDMA, cablesel);
-#ifdef CONFIG_EPIA_VT8237R_INIT
+#if CONFIG_EPIA_VT8237R_INIT
/* Set PATA Output Drive Strength */
lpc_dev = dev_find_device(PCI_VENDOR_ID_VIA,
PCI_DEVICE_ID_VIA_VT8237R_LPC, 0);