Commit a17379e7 authored by Kenji Toyama's avatar Kenji Toyama Committed by Greg Kroah-Hartman

Staging: xgifb: Fixed styles issues.

All the warnings about styles have been removed.
Signed-off-by: default avatarDaniel Kenji Toyama <kenji.toyama@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent eae5f024
#ifndef _LINUX_XGIFB #ifndef _LINUX_XGIFB
#define _LINUX_XGIFB #define _LINUX_XGIFB
#include <asm/ioctl.h> #include <linux/ioctl.h>
#include <asm/types.h> #include <linux/types.h>
#define DISPTYPE_CRT1 0x00000008L #define DISPTYPE_CRT1 0x00000008L
#define DISPTYPE_CRT2 0x00000004L #define DISPTYPE_CRT2 0x00000004L
...@@ -40,18 +40,18 @@ enum xgi_tvtype { ...@@ -40,18 +40,18 @@ enum xgi_tvtype {
TVMODE_NTSC = 0, TVMODE_NTSC = 0,
TVMODE_PAL, TVMODE_PAL,
TVMODE_HIVISION, TVMODE_HIVISION,
TVTYPE_PALM, // vicki@030226 TVTYPE_PALM, /* vicki@030226 */
TVTYPE_PALN, // vicki@030226 TVTYPE_PALN, /* vicki@030226 */
TVTYPE_NTSCJ, // vicki@030226 TVTYPE_NTSCJ, /* vicki@030226 */
TVMODE_TOTAL TVMODE_TOTAL
}; };
enum xgi_tv_plug { /* vicki@030226 */ enum xgi_tv_plug { /* vicki@030226 */
// TVPLUG_Legacy = 0, /* TVPLUG_Legacy = 0, */
// TVPLUG_COMPOSITE, /* TVPLUG_COMPOSITE, */
// TVPLUG_SVIDEO, /* TVPLUG_SVIDEO, */
// TVPLUG_SCART, /* TVPLUG_SCART, */
// TVPLUG_TOTAL /* TVPLUG_TOTAL */
TVPLUG_UNKNOWN = 0, TVPLUG_UNKNOWN = 0,
TVPLUG_COMPOSITE = 1, TVPLUG_COMPOSITE = 1,
TVPLUG_SVIDEO = 2, TVPLUG_SVIDEO = 2,
...@@ -64,14 +64,14 @@ enum xgi_tv_plug { /* vicki@030226 */ ...@@ -64,14 +64,14 @@ enum xgi_tv_plug { /* vicki@030226 */
TVPLUG_TOTAL TVPLUG_TOTAL
}; };
struct video_info{ struct video_info {
int chip_id; int chip_id;
unsigned int video_size; unsigned int video_size;
unsigned long video_base; unsigned long video_base;
char * video_vbase; char *video_vbase;
unsigned long mmio_base; unsigned long mmio_base;
unsigned long mmio_size; unsigned long mmio_size;
char * mmio_vbase; char *mmio_vbase;
unsigned long vga_base; unsigned long vga_base;
unsigned long mtrr; unsigned long mtrr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment