ux500: rework gpio registration
[pandora-kernel.git] / arch / arm / mach-ux500 / include / mach / hardware.h
index 32e883a..6295cc5 100644 (file)
@@ -142,6 +142,8 @@ static inline bool cpu_is_u5500(void)
 #endif
 }
 
+#define ARRAY_AND_SIZE(x)      (x), ARRAY_SIZE(x)
+
 #endif
 
 #endif                         /* __MACH_HARDWARE_H */