diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-02 14:50:28 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-04 08:44:11 +0000 |
commit | 975da840d094489da35c2770eab7afe4ef769be8 (patch) | |
tree | 7ab28aa2839c3f0ee34f610e642766d827b0ba15 /src/mainboard | |
parent | 4ff2233ddf6aa2dc82392c89e1281e07c911fbb6 (diff) |
amdfam10: Fix function declaration to static
Change-Id: Ifb73f51d34e179ff95b2b1e3ab28adc21717f9ab
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/26773
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/advansus/a785e-i/mainboard.c | 3 | ||||
-rw-r--r-- | src/mainboard/amd/bimini_fam10/mainboard.c | 3 | ||||
-rw-r--r-- | src/mainboard/asus/m5a88-v/mainboard.c | 3 | ||||
-rw-r--r-- | src/mainboard/avalue/eax-785e/mainboard.c | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/src/mainboard/advansus/a785e-i/mainboard.c b/src/mainboard/advansus/a785e-i/mainboard.c index 94da80faba..33cbf8891e 100644 --- a/src/mainboard/advansus/a785e-i/mainboard.c +++ b/src/mainboard/advansus/a785e-i/mainboard.c @@ -25,10 +25,9 @@ u8 is_dev3_present(void); void set_pcie_dereset(void); void set_pcie_reset(void); -void enable_int_gfx(void); /* GPIO6. */ -void enable_int_gfx(void) +static void enable_int_gfx(void) { volatile u8 *gpio_reg; diff --git a/src/mainboard/amd/bimini_fam10/mainboard.c b/src/mainboard/amd/bimini_fam10/mainboard.c index aedd5af293..78529be48d 100644 --- a/src/mainboard/amd/bimini_fam10/mainboard.c +++ b/src/mainboard/amd/bimini_fam10/mainboard.c @@ -27,10 +27,9 @@ u8 is_dev3_present(void); void set_pcie_dereset(void); void set_pcie_reset(void); -void enable_int_gfx(void); /* GPIO6. */ -void enable_int_gfx(void) +static void enable_int_gfx(void) { u8 byte; diff --git a/src/mainboard/asus/m5a88-v/mainboard.c b/src/mainboard/asus/m5a88-v/mainboard.c index b717b014fd..8af6037e7d 100644 --- a/src/mainboard/asus/m5a88-v/mainboard.c +++ b/src/mainboard/asus/m5a88-v/mainboard.c @@ -25,10 +25,9 @@ u8 is_dev3_present(void); void set_pcie_dereset(void); void set_pcie_reset(void); -void enable_int_gfx(void); /* GPIO6. */ -void enable_int_gfx(void) +static void enable_int_gfx(void) { volatile u8 *gpio_reg; diff --git a/src/mainboard/avalue/eax-785e/mainboard.c b/src/mainboard/avalue/eax-785e/mainboard.c index 79b408e61f..b820b985bf 100644 --- a/src/mainboard/avalue/eax-785e/mainboard.c +++ b/src/mainboard/avalue/eax-785e/mainboard.c @@ -25,10 +25,9 @@ u8 is_dev3_present(void); void set_pcie_dereset(void); void set_pcie_reset(void); -void enable_int_gfx(void); /* GPIO6. */ -void enable_int_gfx(void) +static void enable_int_gfx(void) { volatile u8 *gpio_reg; |