summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-08-08 17:01:18 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-08-08 17:01:18 +0000
commit48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79 (patch)
tree2a69d7e58effcb8eaeea3240d80df42806c88d3a /programmer.h
parent7507de451be109386668332e64ea1febe213d190 (diff)
downloadflashrom-48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79.tar.gz
flashrom-48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79.tar.bz2
flashrom-48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79.zip
Various cosmetic and coding-style fixes
- Fix incorrect whitespace, indentation, and coding style in some places. - Drop '/**' Doxygen comments, we don't use Doxygen. Even if we would use it, the comments are useless as we don't have any Doxygen markup in there. - Use consistent vendor name spelling as per current website (NVIDIA, abit, GIGABYTE). - Use consistent / common format for "Suited for:" lines in board_enable.c. - Add some missing 'void's in functions taking no arguments. - Add missing fullstops in sentences, remove them from non-sentences (lists). Corresponding to flashrom svn r1134. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/programmer.h b/programmer.h
index b8b7d049f..b3f99b497 100644
--- a/programmer.h
+++ b/programmer.h
@@ -399,11 +399,11 @@ extern const struct pcidev_status ata_hpt[];
/* ft2232_spi.c */
#if CONFIG_FT2232_SPI == 1
struct usbdev_status {
-uint16_t vendor_id;
- uint16_t device_id;
- int status;
- const char *vendor_name;
- const char *device_name;
+ uint16_t vendor_id;
+ uint16_t device_id;
+ int status;
+ const char *vendor_name;
+ const char *device_name;
};
int ft2232_spi_init(void);
int ft2232_spi_send_command(unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr);