summaryrefslogtreecommitdiffstats
path: root/it87spi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-07-27 07:13:06 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-07-27 07:13:06 +0000
commit15b617fad8871538ae54358e05e5f94b8c8400cf (patch)
treeff9f4d8bbe04e1e80755b43b36b990b74d6845b3 /it87spi.c
parentdb556755570004f6ada3fc082b937a6bd679d401 (diff)
downloadflashrom-15b617fad8871538ae54358e05e5f94b8c8400cf.zip
flashrom-15b617fad8871538ae54358e05e5f94b8c8400cf.tar.gz
Rename CHIP_BUSTYPE_FOO to BUS_FOO
It's shorter to type, and we have less problems with the 80 column limit. Corresponding to flashrom svn r1396. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'it87spi.c')
-rw-r--r--it87spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/it87spi.c b/it87spi.c
index 54f41fa..9ed71dc 100644
--- a/it87spi.c
+++ b/it87spi.c
@@ -193,7 +193,7 @@ static uint16_t it87spi_probe(uint16_t port)
free(portpos);
exit_conf_mode_ite(port);
it8716f_flashport = flashport;
- if (buses_supported & CHIP_BUSTYPE_SPI)
+ if (buses_supported & BUS_SPI)
msg_pdbg("Overriding chipset SPI with IT87 SPI.\n");
/* FIXME: Add the SPI bus or replace the other buses with it? */
register_spi_programmer(&spi_programmer_it87xx);
OpenPOWER on IntegriCloud