summaryrefslogtreecommitdiff
path: root/core/drivers/pl050.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/drivers/pl050.c')
-rw-r--r--core/drivers/pl050.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/drivers/pl050.c b/core/drivers/pl050.c
index fa5feab..aedaf71 100644
--- a/core/drivers/pl050.c
+++ b/core/drivers/pl050.c
@@ -26,8 +26,9 @@
*/
#include <compiler.h>
#include <drivers/pl050.h>
-#include <util.h>
#include <io.h>
+#include <keep.h>
+#include <util.h>
#define KMI_ICR 0x00
#define KMI_STAT 0x04
@@ -91,6 +92,7 @@ static const struct serial_ops pl050_ops = {
.have_rx_data = pl050_have_rx_data,
.getchar = pl050_getchar,
};
+KEEP_PAGER(pl050_ops);
void pl050_init(struct pl050_data *pd, vaddr_t base, uint32_t clk)
{