hpet: fix build with CONFIG_HPET off
commit142e0950cfaf023a81112dc3cdfa799d769886a4
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Dec 2013 00:47:16 +0000 (11 02:47 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Dec 2013 18:11:10 +0000 (11 20:11 +0200)
tree265febccce0b2739469247e5cbba89a364c34927
parent8ac2adf79a06372fe2c50ddac64cfffb93dbfeb8
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>
hw/timer/hpet.c
include/hw/timer/hpet.h