revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-pc / hpet / freehpetunit.c
blobcf0c0836ab292795cbea100827e5bc5bd6145893
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "hpet_intern.h"
8 /*****************************************************************************
10 NAME */
11 #include <proto/hpet.h>
13 AROS_LH1(void, FreeHPETUnit,
15 /* SYNOPSIS */
16 AROS_LHA(ULONG, unit, D0),
18 /* LOCATION */
19 struct HPETBase *, base, 3, Hpet)
21 /* FUNCTION
22 Free the specified HPET unit.
24 INPUTS
25 unit - a number of previously allocated HPET unit.
27 RESULT
28 None.
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
38 INTERNALS
40 ******************************************************************************/
42 AROS_LIBFUNC_INIT
44 /* Very simple. Even don't need a semaphore. */
45 base->units[unit].Owner = NULL;
47 AROS_LIBFUNC_EXIT