blob: 71b6dab371d6181a56e3cc0f3989a0f3adfc9356 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using fuchsia.clock;
using fuchsia.hardware.clockimpl;
// The device must implement the clock impl protocol.
if fuchsia.BIND_PROTOCOL == fuchsia.clock.BIND_PROTOCOL.IMPL {
true;
} else if fuchsia.hardware.clockimpl.Service == fuchsia.hardware.clockimpl.Service.DriverTransport {
true;
} else {
false;
}