From 71127727dcff4f7e70b318d7a5eb87f0c8fcc4d7 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 31 May 2010 15:27:27 +0000 Subject: So far, we have up to 4 different names for the same thing (ignoring capitalization) CONFIG_FT2232SPI (makefile config option) FT2232_SPI_SUPPORT (#define) ft2232spi (programmer name) ft2232_spi.c (programmer file) Use CONFIG_* with underscores for makefile config options and #defines and kill the useless _SUPPORT idiom. Use lowercase names with underscores for programmer names and programmer files. With this, you can run "grep -i ft2232_spi" and find everything related to the ft2232_spi driver. Same applies to all other programmers. Corresponding to flashrom svn r1023. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Uwe Hermann --- buspirate_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buspirate_spi.c') diff --git a/buspirate_spi.c b/buspirate_spi.c index 524b608..281a5f5 100644 --- a/buspirate_spi.c +++ b/buspirate_spi.c @@ -116,7 +116,7 @@ int buspirate_spi_init(void) } if (!dev) { msg_perr("No serial device given. Use flashrom -p " - "buspiratespi:dev=/dev/ttyUSB0\n"); + "buspirate_spi:dev=/dev/ttyUSB0\n"); return 1; } if (speed) { -- cgit v1.1