soc/intel: Remove space between function name and '('

Change-Id: I1dbfca33c437c680118eb3a92e60b5607c93e565
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77768
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes Haouas 2023-09-10 10:38:22 +02:00
parent d3bb087360
commit c54a967147
5 changed files with 9 additions and 9 deletions

View File

@ -17,10 +17,10 @@ struct efi_wrapper_params {
/* Mainboard Inputs */
int version;
void ABI_X86 (*console_out)(unsigned char byte);
void ABI_X86(*console_out)(unsigned char byte);
unsigned int tsc_ticks_per_microsecond;
} __packed;
typedef int ABI_X86 (*efi_wrapper_entry_t)(struct efi_wrapper_params *);
typedef int ABI_X86(*efi_wrapper_entry_t)(struct efi_wrapper_params *);
#endif

View File

@ -58,7 +58,7 @@ struct mrc_params {
struct mrc_mainboard_params mainboard;
void ABI_X86 (*console_out)(unsigned char byte);
void ABI_X86(*console_out)(unsigned char byte);
int prev_sleep_state;
@ -76,6 +76,6 @@ struct mrc_params {
} __packed;
/* Call into wrapper. */
typedef int ABI_X86 (*mrc_wrapper_entry_t)(struct mrc_params *);
typedef int ABI_X86(*mrc_wrapper_entry_t)(struct mrc_params *);
#endif /* _MRC_WRAPPER_H_ */

View File

@ -9,7 +9,7 @@
#define ABI_X86 __attribute__((regparm(0)))
typedef void ABI_X86 (*tx_byte_func)(unsigned char byte);
typedef void ABI_X86(*tx_byte_func)(unsigned char byte);
enum board_type {
BOARD_TYPE_CRB_MOBILE = 0, /* CRB Mobile */

View File

@ -5,7 +5,7 @@
#include <soc/pei_data.h>
typedef int ABI_X86 (*pei_wrapper_entry_t)(struct pei_data *pei_data);
typedef int ABI_X86(*pei_wrapper_entry_t)(struct pei_data *pei_data);
static inline void pei_data_usb2_port(struct pei_data *pei_data, int port,
uint16_t length, uint8_t enable,

View File

@ -245,7 +245,7 @@ static void set_ioapic_used(uint32_t irq)
{
size_t word_offset = irq / 32;
size_t bit_offset = irq % 32;
assert (word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
assert(word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
gpio_ioapic_irqs_used[word_offset] |= BIT(bit_offset);
}
@ -253,7 +253,7 @@ bool gpio_routes_ioapic_irq(uint32_t irq)
{
size_t word_offset = irq / 32;
size_t bit_offset = irq % 32;
assert (word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
assert(word_offset < ARRAY_SIZE(gpio_ioapic_irqs_used));
return (gpio_ioapic_irqs_used[word_offset] & BIT(bit_offset)) != 0;
}
@ -830,7 +830,7 @@ static int gpio_route_pmc_gpio_gpe(int pmc_gpe_num)
int i;
routes = soc_pmc_gpio_routes(&num_routes);
assert (routes != NULL);
assert(routes != NULL);
for (i = 0; i < num_routes; i++, routes++) {
if (pmc_gpe_num == routes->pmc)
return routes->gpio;