staging: sm750fb: Remove unnecessary volatile qualifiers from the file
PATCH 1/2 staging: sm750fb: Remove unnecessary volatile qualifiers from the file
Signed-off-by Madhur Kumar <[email protected]>
--- drivers/staging/sm750fb/sm750.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/staging/sm750fb/sm750.h +3 -3
@@ -50,9 +50,9 @@ struct init_status {struct lynx_accel {/* base virtual address of DPR registers */ -volatile unsigned char __iomem *dpr_base; +unsigned char __iomem *dpr_base;/* base virtual address of de data port */ -volatile unsigned char __iomem *dp_port_base; +unsigned char __iomem *dp_port_base;/* function pointers */ void (*de_init)(struct lynx_accel *accel);
@@ -128,7 +128,7 @@ struct lynx_cursor {char __iomem *vstart;int offset;/* mmio addr of hw cursor */ -volatile char __iomem *mmio; +char __iomem *mmio; };struct lynxfb_crtc {
Signature · 1 line
2.48.1
PATCH 2/2 staging: sm750fb: Make g_fbmode truly constant
Signed-off-by Madhur Kumar <[email protected]>
--- drivers/staging/sm750fb/sm750.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/sm750fb/sm750.c +1 -1
@@ -33,7 +33,7 @@static int g_hwcursor =1 ;static int g_noaccel;static int g_nomtrr; -static const char *g_fbmode[] = {NULL ,NULL }; +static const char *const g_fbmode[] = {NULL ,NULL };static const char *g_def_fbmode ="1024x768-32@60" ;static char *g_settings;static int g_dualview;
Signature · 1 line
2.48.1
Quoted 2 lines · Madhur Kumar
Signed-off-by Madhur Kumar <[email protected]>---
No commit message. No v2. Etc.
regards,
dan carpenter