blob: a56dec5dcf77428f13a65e2e9e80b3fbf44f4182 [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.
#include <lib/ddk/device.h>
#include <lib/ddk/driver.h>
#include "src/devices/tests/string-bind-test/child-driver-bind.h"
static zx_status_t bind(void* ctx, zx_device_t* parent) { return ZX_OK; }
static constexpr zx_driver_ops_t driver_ops = []() -> zx_driver_ops_t {
zx_driver_ops_t ops = {};
ops.version = DRIVER_OPS_VERSION;
ops.bind = bind;
return ops;
}();
ZIRCON_DRIVER(string_bind_test_child, driver_ops, "zircon", "0.1");