]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
hpet: fix build with CONFIG_HPET off
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Dec 2013 00:47:16 +0000 (02:47 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 21 Feb 2014 06:34:39 +0000 (00:34 -0600)
commit9692bad34dcb0dcfc46a968ee1d7c69510d268a7
treea7965cfb5cbebd0a4d6d4e42f0fbe5486a2b8a70
parent6ec62b79e34fb2d3948432df2e7a6bb963c2eae1
hpet: fix build with CONFIG_HPET off

make hpet_find inline so we don't need
to build hpet.c to check if hpet is enabled.

Fixes link error with CONFIG_HPET off.

Cc: qemu-stable@nongnu.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 142e0950cfaf023a81112dc3cdfa799d769886a4)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/timer/hpet.c
include/hw/timer/hpet.h