diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-06-09 20:06:34 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-06-09 20:06:34 +0000 |
commit | c422484b84cc7a251166792a367b0a8143a3d206 (patch) | |
tree | 2c19fbeb3a083d9d489a6a7321bd092ac360eec2 /buspirate_spi.c | |
parent | 60b83f98a858a0655aefac1c26257f497ea8e952 (diff) | |
download | ast2050-flashrom-c422484b84cc7a251166792a367b0a8143a3d206.zip ast2050-flashrom-c422484b84cc7a251166792a367b0a8143a3d206.tar.gz |
Fix compilation for CONFIG_INTERNAL=no
CONFIG_INTERNAL implies Super I/O support and NEED_PCI.
NEED_PCI is only used to guard PCI stuff which may be needed for
external PCI-based programmers. That way, using #if NEED_PCI can be
avoided inside #if CONFIG_INTERNAL.
Corresponding to flashrom svn r1326.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'buspirate_spi.c')
-rw-r--r-- | buspirate_spi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buspirate_spi.c b/buspirate_spi.c index 0a9e952..3ac0929 100644 --- a/buspirate_spi.c +++ b/buspirate_spi.c @@ -30,6 +30,11 @@ /* Change this to #define if you want to test without a serial implementation */ #undef FAKE_COMMUNICATION +struct buspirate_spispeeds { + const char *name; + const int speed; +}; + #ifndef FAKE_COMMUNICATION static int buspirate_serialport_setup(char *dev) { |