diff options
author | Martin Roth <martinroth@google.com> | 2017-07-23 20:00:04 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-07-28 16:24:57 +0000 |
commit | b9810a4cd6ec082eaab476540324ae927cae1b53 (patch) | |
tree | 65033127f948190bab1a613bc8a374f5734097f8 /src/drivers/xgi | |
parent | e5f2d4c44c3222cfad881fe24a65c1dc2cfa5cda (diff) | |
download | coreboot-b9810a4cd6ec082eaab476540324ae927cae1b53.tar.xz |
src/drivers: Fix checkpatch warning: no spaces at the start of a line
This excludes files which are mostly spaces, which I felt should be
handled separately.
Change-Id: I33043a3090e2fc6e9d2fd81e8a5e46fb6cb0aa35
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20731
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/drivers/xgi')
-rw-r--r-- | src/drivers/xgi/common/vstruct.h | 4 | ||||
-rw-r--r-- | src/drivers/xgi/common/xgi_coreboot.h | 48 | ||||
-rw-r--r-- | src/drivers/xgi/z9s/z9s.c | 6 |
3 files changed, 29 insertions, 29 deletions
diff --git a/src/drivers/xgi/common/vstruct.h b/src/drivers/xgi/common/vstruct.h index 8172b9fe98..d14a18292a 100644 --- a/src/drivers/xgi/common/vstruct.h +++ b/src/drivers/xgi/common/vstruct.h @@ -50,7 +50,7 @@ #define _VSTRUCT_H_ struct SiS_PanelDelayTbl { - unsigned char timer[2]; + unsigned char timer[2]; }; struct SiS_LCDData { @@ -166,7 +166,7 @@ struct SiS_Ext2 { }; struct SiS_Part2PortTbl { - unsigned char CR[12]; + unsigned char CR[12]; }; struct SiS_CRT1Table { diff --git a/src/drivers/xgi/common/xgi_coreboot.h b/src/drivers/xgi/common/xgi_coreboot.h index dd5178219c..b9332e8126 100644 --- a/src/drivers/xgi/common/xgi_coreboot.h +++ b/src/drivers/xgi/common/xgi_coreboot.h @@ -176,30 +176,30 @@ #define VB_VIDEOBRIDGE (VB_SISBRIDGE | VB_LVDS | VB_CHRONTEL | VB_CONEXANT) enum _SIS_LCD_TYPE { - LCD_INVALID = 0, - LCD_800x600, - LCD_1024x768, - LCD_1280x1024, - LCD_1280x960, - LCD_640x480, - LCD_1600x1200, - LCD_1920x1440, - LCD_2048x1536, - LCD_320x240, /* FSTN */ - LCD_1400x1050, - LCD_1152x864, - LCD_1152x768, - LCD_1280x768, - LCD_1024x600, - LCD_320x240_2, /* DSTN */ - LCD_320x240_3, /* DSTN */ - LCD_848x480, - LCD_1280x800, - LCD_1680x1050, - LCD_1280x720, - LCD_1280x854, - LCD_CUSTOM, - LCD_UNKNOWN + LCD_INVALID = 0, + LCD_800x600, + LCD_1024x768, + LCD_1280x1024, + LCD_1280x960, + LCD_640x480, + LCD_1600x1200, + LCD_1920x1440, + LCD_2048x1536, + LCD_320x240, /* FSTN */ + LCD_1400x1050, + LCD_1152x864, + LCD_1152x768, + LCD_1280x768, + LCD_1024x600, + LCD_320x240_2, /* DSTN */ + LCD_320x240_3, /* DSTN */ + LCD_848x480, + LCD_1280x800, + LCD_1680x1050, + LCD_1280x720, + LCD_1280x854, + LCD_CUSTOM, + LCD_UNKNOWN }; /* End code taken from Linux kernel 3.18.5 */ diff --git a/src/drivers/xgi/z9s/z9s.c b/src/drivers/xgi/z9s/z9s.c index 4c1e44a828..dc4fd3cf19 100644 --- a/src/drivers/xgi/z9s/z9s.c +++ b/src/drivers/xgi/z9s/z9s.c @@ -59,7 +59,7 @@ static struct device_operations xgi_z9s_ops = { }; static const struct pci_driver xgi_z9s_driver __pci_driver = { - .ops = &xgi_z9s_ops, - .vendor = PCI_VENDOR_ID_XGI, - .device = PCI_DEVICE_ID_XGI_20, + .ops = &xgi_z9s_ops, + .vendor = PCI_VENDOR_ID_XGI, + .device = PCI_DEVICE_ID_XGI_20, }; |