From beeb8bc925bef6973e1c9fa6c4fd26a4113a1777 Mon Sep 17 00:00:00 2001 From: Jacob Garber Date: Fri, 21 Jun 2019 15:24:17 -0600 Subject: tree: Make internal functions static None of these functions are used outside of the files they are defined in, so make them all static. Change-Id: Ie9cbe12d289bcedacf2f1bf483ae64ef8039ccc1 Signed-off-by: Jacob Garber Reviewed-on: https://review.coreboot.org/c/flashrom/+/33667 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Nico Huber --- board_enable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board_enable.c') diff --git a/board_enable.c b/board_enable.c index b5a54427..58760363 100644 --- a/board_enable.c +++ b/board_enable.c @@ -67,7 +67,7 @@ void sio_mask(uint16_t port, uint8_t reg, uint8_t data, uint8_t mask) } /* Winbond W83697 documentation indicates that the index register has to be written for each access. */ -void sio_mask_alzheimer(uint16_t port, uint8_t reg, uint8_t data, uint8_t mask) +static void sio_mask_alzheimer(uint16_t port, uint8_t reg, uint8_t data, uint8_t mask) { uint8_t tmp; @@ -519,7 +519,7 @@ static void w836xx_memw_enable(uint16_t port) * Supported chips: * W83697HF/F/HG, W83697SF/UF/UG */ -void w83697xx_memw_enable(uint16_t port) +static void w83697xx_memw_enable(uint16_t port) { w836xx_ext_enter(port); if (!(sio_read(port, 0x24) & 0x02)) { /* Flash ROM enabled? */ -- cgit v1.2.3