1// Copyright 2018 The Fuchsia Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include <ddk/binding.h> 6#include <ddk/driver.h> 7 8extern zx_status_t platform_proxy_create(void* ctx, zx_device_t* parent, const char* name, 9 const char* args, zx_handle_t rpc_channel); 10 11static zx_driver_ops_t platform_bus_proxy_driver_ops = { 12 .version = DRIVER_OPS_VERSION, 13 .create = platform_proxy_create, 14}; 15 16ZIRCON_DRIVER_BEGIN(platform_bus_proxy, platform_bus_proxy_driver_ops, "zircon", "0.1", 1) 17 BI_MATCH_IF(EQ, BIND_PROTOCOL, ZX_PROTOCOL_PLATFORM_PROXY), 18ZIRCON_DRIVER_END(platform_bus_proxy) 19