Files
u-boot/drivers/virtio/virtio_internal.h
Simon Glass 9377438d02 virtio: Export a few things from virtio_mmio.c
Add a header file to allow other drivers to implement MMIO and share the
code.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-06-27 20:55:01 -06:00

20 lines
403 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Internal header file for virtio
*
* Copyright 2025 Simon Glass <sjg@chromium.org>
*/
#ifndef _VIRTIO_INTERNAL_H
#define _VIRTIO_INTERNAL_H
struct udevice;
/* MMIO operations from virtio_mmcio.c */
extern const struct dm_virtio_ops virtio_mmio_ops;
/* exported probe function from virtio_mmcio.c */
int virtio_mmio_probe(struct udevice *udev);
#endif