diff options
author | Dan Handley <dan.handley@arm.com> | 2014-04-09 13:14:54 +0100 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-05-06 13:57:48 +0100 |
commit | 97043ac98e13a726dbf8b3b41654dca759e3da2c (patch) | |
tree | 18133148dea88d9a2313113111b24b56e8130505 /include/lib/mmio.h | |
parent | fb037bfb7cbf7b404c069b4ebac5a10059d948b1 (diff) |
Reduce deep nesting of header files
Reduce the number of header files included from other header
files as much as possible without splitting the files. Use forward
declarations where possible. This allows removal of some unnecessary
"#ifndef __ASSEMBLY__" statements.
Also, review the .c and .S files for which header files really need
including and reorder the #include statements alphabetically.
Fixes ARM-software/tf-issues#31
Change-Id: Iec92fb976334c77453e010b60bcf56f3be72bd3e
Diffstat (limited to 'include/lib/mmio.h')
-rw-r--r-- | include/lib/mmio.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/lib/mmio.h b/include/lib/mmio.h index c79c3f5c..d3c2cae5 100644 --- a/include/lib/mmio.h +++ b/include/lib/mmio.h @@ -31,8 +31,6 @@ #ifndef __MMIO_H__ #define __MMIO_H__ -#ifndef __ASSEMBLY__ - #include <stdint.h> extern void mmio_write_8(uintptr_t addr, uint8_t value); @@ -44,6 +42,4 @@ extern uint32_t mmio_read_32(uintptr_t addr); extern void mmio_write_64(uintptr_t addr, uint64_t value); extern uint64_t mmio_read_64(uintptr_t addr); -#endif /*__ASSEMBLY__*/ - #endif /* __MMIO_H__ */ |