blob: 7f28591958f99b1a7aef7005c97e36601e2ae95c [file] [log] [blame]
// Copyright 2019 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.
#pragma once
#include <ddktl/device.h>
namespace aml_usb_phy {
class XhciDevice;
using XhciDeviceType = ddk::Device<XhciDevice>;
// Device for binding the XHCI driver.
class XhciDevice : public XhciDeviceType {
public:
explicit XhciDevice(zx_device_t* parent) : XhciDeviceType(parent) {}
// Device protocol implementation.
void DdkRelease() { delete this; }
private:
DISALLOW_COPY_ASSIGN_AND_MOVE(XhciDevice);
};
} // namespace aml_usb_phy