summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/aspeed/common/ast_main.c2
-rw-r--r--src/drivers/xgi/common/xgi_coreboot.c2
2 files changed, 2 insertions, 2 deletions
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 */