[PATCH] ARM: at91: correct __iomem 'qualifier' placement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



__iomem applies to the pointee, not to the auto pointer
that points at it. Move the annotation to correct this.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
There were only two instances of this and this is the patch
for the second one.

 arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h b/arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h
index 34b2eed057c0..496cf707014e 100644
--- a/arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h
+++ b/arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h
@@ -139,7 +139,7 @@ Banks [not SAM9G45] */
 #include <io.h>
 #include <mach/hardware.h>
 
-static inline u32 at91_get_ddram_size(void * __iomem base, bool is_nb)
+static inline u32 at91_get_ddram_size(void __iomem *base, bool is_nb)
 {
 	u32 cr;
 	u32 mdr;
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux