mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-08-20 21:40:41 +08:00
virtio: make unused function virtio_describe() deprecated
The virtio_describe() function does not seem usable. Therefore, it should be marked as deprecated to initiate the removal process. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
329fe101e4
commit
cd8823876f
@@ -214,9 +214,10 @@ struct virtio_device {
|
||||
* @return pointer to the device name string if found, otherwise null.
|
||||
*/
|
||||
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);
|
||||
|
||||
/**
|
||||
* @brief Virtio device dispatcher functions.
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user