summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-01-12 11:47:05 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-01-13 16:11:48 +0000
commit1d380128aa522510bb39385a0517bf28bb84e418 (patch)
tree908ae68f8f4b58fe046995df810b0bb2e22d1800 /src/drivers
parent9f87ad2c2f977670d06d55ce5af45560e3a32677 (diff)
downloadcoreboot-1d380128aa522510bb39385a0517bf28bb84e418.tar.gz
coreboot-1d380128aa522510bb39385a0517bf28bb84e418.tar.bz2
coreboot-1d380128aa522510bb39385a0517bf28bb84e418.zip
drivers/intel/i210.h: Remove 'extern' from declaration
"extern" is always implied with function declarations. Also remove the comment as the linker will just tell you the same if a definition is missing. Change-Id: I53679ab57981790f82affb46a006281b348af574 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71869 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/i210/i210.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/intel/i210/i210.h b/src/drivers/intel/i210/i210.h
index 1cc6a28a0bce..baaab6e3d594 100644
--- a/src/drivers/intel/i210/i210.h
+++ b/src/drivers/intel/i210/i210.h
@@ -30,7 +30,6 @@
#define MAC_ADDR_LEN 6
/* We need one function we can call to get a MAC address to use */
-/* This function can be coded somewhere else but must exist. */
-extern enum cb_err mainboard_get_mac_address(struct device *dev, uint8_t mac[MAC_ADDR_LEN]);
+enum cb_err mainboard_get_mac_address(struct device *dev, uint8_t mac[MAC_ADDR_LEN]);
#endif /* _INTEL_I210_H_ */