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/driver.h>
6 #include <ddk/binding.h>
7 
8 #include "broker.h"
9 
10 static zx_driver_ops_t nand_broker_ops = {
11     .version = DRIVER_OPS_VERSION,
12     .bind = nand_broker_bind,
13 };
14 
15 ZIRCON_DRIVER_BEGIN(nand-broker, nand_broker_ops, "zircon", "0.1", 2)
16     BI_ABORT_IF_AUTOBIND,
17     BI_MATCH_IF(EQ, BIND_PROTOCOL, ZX_PROTOCOL_NAND)
18 ZIRCON_DRIVER_END(nand-broker)
19