summaryrefslogtreecommitdiff
path: root/src/drivers/ati
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-07-23 20:00:04 -0600
committerMartin Roth <martinroth@google.com>2017-07-28 16:24:57 +0000
commitb9810a4cd6ec082eaab476540324ae927cae1b53 (patch)
tree65033127f948190bab1a613bc8a374f5734097f8 /src/drivers/ati
parente5f2d4c44c3222cfad881fe24a65c1dc2cfa5cda (diff)
downloadcoreboot-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/ati')
-rw-r--r--src/drivers/ati/ragexl/fb.h46
-rw-r--r--src/drivers/ati/ragexl/mach64.h4
2 files changed, 25 insertions, 25 deletions
diff --git a/src/drivers/ati/ragexl/fb.h b/src/drivers/ati/ragexl/fb.h
index f112d0e575..8daf7ba34d 100644
--- a/src/drivers/ati/ragexl/fb.h
+++ b/src/drivers/ati/ragexl/fb.h
@@ -12,7 +12,7 @@
#define FB_MAX 32 /* sufficient for now */
/* ioctls
- 0x46 is 'F' */
+ * 0x46 is 'F' */
#define FBIOGET_VSCREENINFO 0x4600
#define FBIOPUT_VSCREENINFO 0x4601
#define FBIOGET_FSCREENINFO 0x4602
@@ -271,9 +271,9 @@ struct fb_vblank {
- /*
- * Hardware Cursor
- */
+/*
+ * Hardware Cursor
+ */
#define FBIOGET_FCURSORINFO 0x4607
#define FBIOGET_VCURSORINFO 0x4608
@@ -307,38 +307,38 @@ struct fb_cursorstate {
struct fb_info {
- char modename[40]; /* default video mode */
+ char modename[40]; /* default video mode */
// kdev_t node;
- int flags;
- int open; /* Has this been open already ? */
- struct fb_var_screeninfo var; /* Current var */
+ int flags;
+ int open; /* Has this been open already ? */
+ struct fb_var_screeninfo var; /* Current var */
#if 0
- struct fb_fix_screeninfo fix; /* Current fix */
+ struct fb_fix_screeninfo fix; /* Current fix */
#endif
- struct fb_monspecs monspecs; /* Current Monitor specs */
- struct fb_cmap cmap; /* Current cmap */
+ struct fb_monspecs monspecs; /* Current Monitor specs */
+ struct fb_cmap cmap; /* Current cmap */
// struct fb_ops *fbops;
- char *screen_base; /* Virtual address */
- struct display *disp; /* initial display variable */
+ char *screen_base; /* Virtual address */
+ struct display *disp; /* initial display variable */
// struct vc_data *display_fg; /* Console visible on this display */
- char fontname[40]; /* default font name */
+ char fontname[40]; /* default font name */
#if 0
- devfs_handle_t devfs_handle; /* Devfs handle for new name */
- devfs_handle_t devfs_lhandle; /* Devfs handle for compat. symlink */
- int (*changevar)(int); /* tell console var has changed */
- int (*switch_con)(int, struct fb_info*);
+ devfs_handle_t devfs_handle; /* Devfs handle for new name */
+ devfs_handle_t devfs_lhandle; /* Devfs handle for compat. symlink */
+ int (*changevar)(int); /* tell console var has changed */
+ int (*switch_con)(int, struct fb_info*);
/* tell fb to switch consoles */
- int (*updatevar)(int, struct fb_info*);
+ int (*updatevar)(int, struct fb_info*);
/* tell fb to update the vars */
- void (*blank)(int, struct fb_info*); /* tell fb to (un)blank the screen */
+ void (*blank)(int, struct fb_info*); /* tell fb to (un)blank the screen */
/* arg = 0: unblank */
/* arg > 0: VESA level (arg-1) */
#endif
- void *pseudo_palette; /* Fake palette of 16 colors and
+ void *pseudo_palette; /* Fake palette of 16 colors and
the cursor's color for non
palette mode */
- /* From here on everything is device dependent */
- void *par;
+/* From here on everything is device dependent */
+ void *par;
};
#endif /* _LINUX_FB_H */
diff --git a/src/drivers/ati/ragexl/mach64.h b/src/drivers/ati/ragexl/mach64.h
index 354ae2ba0d..7400b43870 100644
--- a/src/drivers/ati/ragexl/mach64.h
+++ b/src/drivers/ati/ragexl/mach64.h
@@ -858,8 +858,8 @@
#define GL_CHIP_ID 0x474c /* RAGE XL, PQFP, PCI66 */
#define IS_XL(id) ((id)==GR_CHIP_ID || (id)==GS_CHIP_ID || \
- (id)==GM_CHIP_ID || (id)==GN_CHIP_ID || \
- (id)==GO_CHIP_ID || (id)==GL_CHIP_ID)
+ (id)==GM_CHIP_ID || (id)==GN_CHIP_ID || \
+ (id)==GO_CHIP_ID || (id)==GL_CHIP_ID)
#define GT_CHIP_ID 0x4754 /* RAGE (GT) */
#define GU_CHIP_ID 0x4755 /* RAGE II/II+ (GTB) */