summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorJuan Castillo <juan.castillo@arm.com>2014-06-13 17:05:10 +0100
committerJuan Castillo <juan.castillo@arm.com>2014-06-24 12:50:00 +0100
commit4f2104ff20753d78af0058e3ca5e9e042cd707af (patch)
tree82c3050940f816e3de424958d23bfa691b44b152 /include/lib
parent41cf7bdfd7114ee437d165974367a483636df76d (diff)
Remove all checkpatch errors from codebase
Exclude stdlib files because they do not follow kernel code style. Fixes ARM-software/tf-issues#73 Change-Id: I4cfafa38ab436f5ab22c277cb38f884346a267ab
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/aarch64/arch_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib/aarch64/arch_helpers.h b/include/lib/aarch64/arch_helpers.h
index 673e897a..6ba37c23 100644
--- a/include/lib/aarch64/arch_helpers.h
+++ b/include/lib/aarch64/arch_helpers.h
@@ -85,14 +85,14 @@ static inline void write_ ## _name(const uint64_t v) \
/* Define function for simple system instruction */
#define DEFINE_SYSOP_FUNC(_op) \
-static inline void _op() \
+static inline void _op(void) \
{ \
__asm__ (#_op); \
}
/* Define function for system instruction with type specifier */
#define DEFINE_SYSOP_TYPE_FUNC(_op, _type) \
-static inline void _op ## _type() \
+static inline void _op ## _type(void) \
{ \
__asm__ (#_op " " #_type); \
}