X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=hw%2Farm_timer.c;h=540d3dea1b0d75087dd7edf8c58d7cd67402fd50;hb=9596ebb7012a19a45ca036a200acd617a93a321b;hp=417d53db849e63293f3a8c647db414230531b49e;hpb=4c1b1bfe30dab7bc08e3ff8f179f8e11be9d7f04;p=qemu.git diff --git a/hw/arm_timer.c b/hw/arm_timer.c index 417d53db8..540d3dea1 100644 --- a/hw/arm_timer.c +++ b/hw/arm_timer.c @@ -8,8 +8,8 @@ */ #include "hw.h" -#include "arm-misc.h" #include "qemu-timer.h" +#include "primecell.h" /* Common timer implementation. */ @@ -43,7 +43,7 @@ static void arm_timer_update(arm_timer_state *s) } } -uint32_t arm_timer_read(void *opaque, target_phys_addr_t offset) +static uint32_t arm_timer_read(void *opaque, target_phys_addr_t offset) { arm_timer_state *s = (arm_timer_state *)opaque;