blob: 9aaf2f8cdfb15bf34159e69f74c1af5c400e8097 [file] [log] [blame]
// Copyright 2022 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.
#include <lib/ddk/binding_driver.h>
#include <ddktl/device.h>
namespace fake_driver {
static zx_driver_ops_t fake_driver_driver_ops = []() -> zx_driver_ops_t {
zx_driver_ops_t ops = {};
ops.version = DRIVER_OPS_VERSION;
ops.bind = [](void* ctx, zx_device_t* dev) { return ZX_OK; };
return ops;
}();
} // namespace fake_driver
ZIRCON_DRIVER(FakeDriver, fake_driver::fake_driver_driver_ops, "zircon", "0.1");