From b9810a4cd6ec082eaab476540324ae927cae1b53 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 23 Jul 2017 20:00:04 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/20731 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Werner Zeh --- src/drivers/ati/ragexl/fb.h | 46 ++++++++++++++++++++--------------------- src/drivers/ati/ragexl/mach64.h | 4 ++-- 2 files changed, 25 insertions(+), 25 deletions(-) (limited to 'src/drivers/ati') 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) */ -- cgit v1.2.3