From 0ce41f1a116a816e774ebbd1130d27d7ee70e7e9 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 13 Nov 2018 10:03:31 +0100 Subject: src: Add required space after "switch" Change-Id: I85cf93e30606bc7838852bd300a369e79370629a Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/29623 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/aspeed/common/ast_main.c | 2 +- src/drivers/xgi/common/xgi_coreboot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/aspeed/common/ast_main.c b/src/drivers/aspeed/common/ast_main.c index 264ef9d42d..3a0cf209f2 100644 --- a/src/drivers/aspeed/common/ast_main.c +++ b/src/drivers/aspeed/common/ast_main.c @@ -195,7 +195,7 @@ static int ast_detect_chip(struct drm_device *dev, bool *need_post) } /* Print stuff for diagnostic purposes */ - switch(ast->tx_chip_type) { + switch (ast->tx_chip_type) { case AST_TX_SIL164: DRM_INFO("Using Sil164 TMDS transmitter\n"); break; diff --git a/src/drivers/xgi/common/xgi_coreboot.c b/src/drivers/xgi/common/xgi_coreboot.c index 47320fda31..d2acb60301 100644 --- a/src/drivers/xgi/common/xgi_coreboot.c +++ b/src/drivers/xgi/common/xgi_coreboot.c @@ -379,7 +379,7 @@ int xgifb_modeset(struct pci_dev *pdev, struct xgifb_video_info *xgifb_info) xgi_fb.reserved_mask_pos = 0; xgi_fb.reserved_mask_size = 0; - switch(xgifb_info->video_bpp){ + switch (xgifb_info->video_bpp) { case 32: case 24: /* packed into 4-byte words */ -- cgit v1.2.3