diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2022-02-04 22:24:10 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2022-02-04 22:24:10 +0000 |
commit | c8fb065709464f10c0f98fb270e73581e08bb823 (patch) | |
tree | 6c594a353c5180a8243ea4d33a01d151b9cd2c3a /sys/dev | |
parent | 924ebd4419aba4c42ba5e6f677366abdbf1d973c (diff) |
Add prototype for clock_set_frequency_idx().
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ofw/ofw_clock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_clock.h b/sys/dev/ofw/ofw_clock.h index 34dd92a9e31..a0e42100cdf 100644 --- a/sys/dev/ofw/ofw_clock.h +++ b/sys/dev/ofw/ofw_clock.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ofw_clock.h,v 1.6 2018/05/03 10:56:14 patrick Exp $ */ +/* $OpenBSD: ofw_clock.h,v 1.7 2022/02/04 22:24:09 kettenis Exp $ */ /* * Copyright (c) 2016 Mark Kettenis * @@ -36,6 +36,7 @@ void clock_register(struct clock_device *); uint32_t clock_get_frequency(int, const char *); uint32_t clock_get_frequency_idx(int, int); int clock_set_frequency(int, const char *, uint32_t); +int clock_set_frequency_idx(int, int idx, uint32_t); void clock_set_assigned(int); void clock_enable(int, const char *); void clock_enable_idx(int, int); |