[PATCH 1/2] staging: sm750fb: Remove unnecessary volatile qualifiers from the file

From: Madhur Kumar
Date: Tue Feb 18 2025 - 14:02:50 EST


Signed-off-by: Madhur Kumar <madhurkumar004@xxxxxxxxx>
---
drivers/staging/sm750fb/sm750.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index 097d6558b7fc..8eab90f0f33b 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -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 {
--
2.48.1