diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2020-07-31 23:15:53 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-28 14:19:14 +0000 |
commit | 8438927879a73194924d6e1c021004fc3028b3b9 (patch) | |
tree | df4392c159272806d39a5951b187937377a46591 /src/mainboard/facebook/fbg1701/w25q64.c | |
parent | 93cb1809a2034aa398ad0cb5faf7d5e8e48bfe44 (diff) |
treewide: Remove unused #includes of spi_winbond.h
We want to add some function declarations as static_testable to this
header but including it in a .c file outside of tests will yield a gcc
warning like:
error: 'function' declared 'static' but never defined
[-Werror=unused-function]
It seems these includes aren't necessary anyways so we just remove
them.
Change-Id: I17147136579140b94728ceb1c369b1348714bc53
Signed-off-by: Daniel Gröber <dxld@darkboxed.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44090
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/facebook/fbg1701/w25q64.c')
-rw-r--r-- | src/mainboard/facebook/fbg1701/w25q64.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mainboard/facebook/fbg1701/w25q64.c b/src/mainboard/facebook/fbg1701/w25q64.c index 295b80ca59..3d2ce03883 100644 --- a/src/mainboard/facebook/fbg1701/w25q64.c +++ b/src/mainboard/facebook/fbg1701/w25q64.c @@ -2,7 +2,6 @@ #include <soc/spi.h> #include <string.h> -#include <drivers/spi/spi_winbond.h> /* * SPI VSCC configuration |