diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-01-12 11:47:05 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-01-13 16:11:48 +0000 |
commit | 1d380128aa522510bb39385a0517bf28bb84e418 (patch) | |
tree | 908ae68f8f4b58fe046995df810b0bb2e22d1800 /src/drivers/intel/i210 | |
parent | 9f87ad2c2f977670d06d55ce5af45560e3a32677 (diff) |
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/intel/i210')
-rw-r--r-- | src/drivers/intel/i210/i210.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/intel/i210/i210.h b/src/drivers/intel/i210/i210.h index 1cc6a28a0b..baaab6e3d5 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_ */ |