Skip to content

Commit 5213518

Browse files
inochisalinusw
authored andcommitted
pinctrl: sophgo: cv18xx: fix missed __iomem type identifier
As the variable reg in "cv1800_pctrl_dbg_show" misses a "__iomem" type identifier, a warning will be issued by the compiler. Add this identifier to avoid this warning. Fixes: a29d8e9 ("pinctrl: sophgo: add support for CV1800B SoC") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Inochi Amaoto <[email protected]> Link: https://lore.kernel.org/IA1PR20MB495329EBE498DFFDAA1EC457BB972@IA1PR20MB4953.namprd20.prod.outlook.com Signed-off-by: Linus Walleij <[email protected]>
1 parent f33254d commit 5213518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/sophgo/pinctrl-cv18xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static void cv1800_pctrl_dbg_show(struct pinctrl_dev *pctldev,
125125
struct cv1800_pin *pin = cv1800_get_pin(pctrl, pin_id);
126126
enum cv1800_pin_io_type type = cv1800_pin_io_type(pin);
127127
u32 value;
128-
void *reg;
128+
void __iomem *reg;
129129

130130
if (pin->pin >> PIN_BGA_ID_OFFSET)
131131
seq_printf(seq, "pos: %c%u ",

0 commit comments

Comments
 (0)