diff --git a/lib/include/openamp/virtio.h b/lib/include/openamp/virtio.h index f0fcfc679..2e4aa65c8 100644 --- a/lib/include/openamp/virtio.h +++ b/lib/include/openamp/virtio.h @@ -218,9 +218,10 @@ struct virtio_device { * Helper functions. */ const char *virtio_dev_name(uint16_t devid); -void virtio_describe(struct virtio_device *dev, const char *msg, - uint32_t features, - struct virtio_feature_desc *feature_desc); + +__deprecated void virtio_describe(struct virtio_device *dev, const char *msg, + uint32_t features, + struct virtio_feature_desc *feature_desc); /* * Functions for virtio device configuration as defined in Rusty Russell's diff --git a/lib/virtio/virtio.c b/lib/virtio/virtio.c index 6083e4f00..794212a23 100644 --- a/lib/virtio/virtio.c +++ b/lib/virtio/virtio.c @@ -83,8 +83,8 @@ static const char *virtio_feature_name(unsigned long val, return NULL; } -void virtio_describe(struct virtio_device *dev, const char *msg, - uint32_t features, struct virtio_feature_desc *desc) +__deprecated void virtio_describe(struct virtio_device *dev, const char *msg, + uint32_t features, struct virtio_feature_desc *desc) { (void)dev; (void)msg;