Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1144d653 authored by Daniel Silverstone's avatar Daniel Silverstone Committed by Russell King
Browse files

[ARM] 5376/1: S3C24XX: Fix sparse errors in platform uncompress.h



Ensure __iomem attribute is __force 'd off in the minimal
__raw_writel() implementation.

Signed-off-by: default avatarSimtec Linux Team <linux@simtec.co.uk>
Signed-off-by: default avatarBen Dooks <ben@simtec.co.uk>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent adf8b37b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -90,7 +90,10 @@ static inline void flush(void)
{
}

#define __raw_writel(d,ad) do { *((volatile unsigned int *)(ad)) = (d); } while(0)
#define __raw_writel(d, ad)			\
	do {							\
		*((volatile unsigned int __force *)(ad)) = (d); \
	} while (0)

/* CONFIG_S3C_BOOT_WATCHDOG
 *