staging: sm750fb: coding style global ERROR fixes
kernel coding style fixes for below messages from scripts/checkpatch.pl ERROR: do not initialise globals to 0 or NULL Signed-off-by: Vinay Simha BN <simhavcs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>hifive-unleashed-5.1
parent
d5fca4035a
commit
df52568686
|
@ -1,8 +1,8 @@
|
||||||
#include "ddk750_help.h"
|
#include "ddk750_help.h"
|
||||||
|
|
||||||
void __iomem *mmio750 = NULL;
|
void __iomem *mmio750;
|
||||||
char revId750 = 0;
|
char revId750;
|
||||||
unsigned short devId750 = 0;
|
unsigned short devId750;
|
||||||
|
|
||||||
/* after driver mapped io registers, use this function first */
|
/* after driver mapped io registers, use this function first */
|
||||||
void ddk750_set_mmio(void __iomem *addr, unsigned short devId, char revId)
|
void ddk750_set_mmio(void __iomem *addr, unsigned short devId, char revId)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "modedb.h"
|
#include "modedb.h"
|
||||||
|
|
||||||
int smi_indent = 0;
|
int smi_indent;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -47,9 +47,9 @@ static int g_noaccel;
|
||||||
static int g_nomtrr;
|
static int g_nomtrr;
|
||||||
static const char *g_fbmode[] = {NULL, NULL};
|
static const char *g_fbmode[] = {NULL, NULL};
|
||||||
static const char *g_def_fbmode = "800x600-16@60";
|
static const char *g_def_fbmode = "800x600-16@60";
|
||||||
static char *g_settings = NULL;
|
static char *g_settings;
|
||||||
static int g_dualview;
|
static int g_dualview;
|
||||||
static char *g_option = NULL;
|
static char *g_option;
|
||||||
|
|
||||||
|
|
||||||
static const struct fb_videomode lynx750_ext[] = {
|
static const struct fb_videomode lynx750_ext[] = {
|
||||||
|
|
Loading…
Reference in New Issue