summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-14 07:30:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-05-26 13:45:24 +0000
commit3813ca521a6cd7348ce111c3f46cbee66a1b964d (patch)
tree327922404460cd26388d1f26721670879cb619c9 /src/mainboard
parent764167b8ca91b136b068f1d3f03adf5f50af615a (diff)
treewide: Remove 'extern' from functions declaration
"extern" is automatically implied with function declaration. Change-Id: Ic40218acab5a009621b6882faacfcac800aaf0b9 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71890 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/butterfly/ec.h2
-rw-r--r--src/mainboard/google/parrot/ec.h2
-rw-r--r--src/mainboard/intel/emeraldlake2/ec.h2
-rw-r--r--src/mainboard/samsung/lumpy/ec.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/butterfly/ec.h b/src/mainboard/google/butterfly/ec.h
index 1c837cb649..87021b1fcf 100644
--- a/src/mainboard/google/butterfly/ec.h
+++ b/src/mainboard/google/butterfly/ec.h
@@ -8,7 +8,7 @@
/* EC SMI sources TODO: MLR- make defines */
#ifndef __ACPI__
-extern void butterfly_ec_init(void);
+void butterfly_ec_init(void);
#endif
#endif // BUTTERFLY_EC_H
diff --git a/src/mainboard/google/parrot/ec.h b/src/mainboard/google/parrot/ec.h
index ff9d558e27..a77cf63e28 100644
--- a/src/mainboard/google/parrot/ec.h
+++ b/src/mainboard/google/parrot/ec.h
@@ -41,7 +41,7 @@
*/
#ifndef __ACPI__
-extern void parrot_ec_init(void);
+void parrot_ec_init(void);
u8 parrot_rev(void);
#endif
diff --git a/src/mainboard/intel/emeraldlake2/ec.h b/src/mainboard/intel/emeraldlake2/ec.h
index 17d6a7cc4d..e675083452 100644
--- a/src/mainboard/intel/emeraldlake2/ec.h
+++ b/src/mainboard/intel/emeraldlake2/ec.h
@@ -31,6 +31,6 @@
#define EC_FAN_SPEED_LEVEL_4 0x10 /* Level 4 is off */
#define EC_FAN_SPEED_FLAG_OS 0x80 /* OS control of fan speed */
-extern void lumpy_ec_init(void);
+void lumpy_ec_init(void);
#endif // LUMPY_EC_H
diff --git a/src/mainboard/samsung/lumpy/ec.h b/src/mainboard/samsung/lumpy/ec.h
index 891d7ecacc..cd55df0bcf 100644
--- a/src/mainboard/samsung/lumpy/ec.h
+++ b/src/mainboard/samsung/lumpy/ec.h
@@ -39,6 +39,6 @@
#define EC_LID_CLOSE 0x9c /* Lid close event */
#define EC_LID_OPEN 0x9d /* Lid open event */
-extern void lumpy_ec_init(void);
+void lumpy_ec_init(void);
#endif // LUMPY_EC_H