Edward O'Callaghan has uploaded this change for review.

View Change

programmer.h: Minor tidy up

Align comments and #ifdef terminations to be clear.

BUG=none
BRANCH=none
TEST=builds

Change-Id: I7ceda32b66d17318d42b94a1fab621a9a926fa77
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
---
M programmer.h
1 file changed, 3 insertions(+), 5 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/66/56466/1
diff --git a/programmer.h b/programmer.h
index 95e2cda..61673a8 100644
--- a/programmer.h
+++ b/programmer.h
@@ -397,8 +397,8 @@
CHIPSET_GEMINI_LAKE,
};

-/* ichspi.c */
#if CONFIG_INTERNAL == 1
+/* ichspi.c */
int ich_init_spi(void *spibar, enum ich_chipset ich_generation);
int via_init_spi(uint32_t mmio_base);

@@ -419,19 +419,17 @@
static inline int try_mtd(void) { return programmer_linux_mtd.init(); };
#else
static inline int try_mtd(void) { return 1; };
-#endif
+#endif /* CONFIG_LINUX_MTD == 1 */

/* mcp6x_spi.c */
int mcp6x_spi_init(int want_spi);

-
-
/* sb600spi.c */
int sb600_probe_spi(struct pci_dev *dev);

/* wbsio_spi.c */
int wbsio_check_for_spi(void);
-#endif
+#endif /* CONFIG_INTERNAL == 1 */

/* opaque.c */
struct opaque_master {

To view, visit change 56466. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I7ceda32b66d17318d42b94a1fab621a9a926fa77
Gerrit-Change-Number: 56466
Gerrit-PatchSet: 1
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: newchange