diff options
| author | Michael S. Tsirkin <mst@redhat.com> | 2025-12-04 12:22:32 -0500 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-12-24 08:02:56 -0500 |
| commit | 42059e68eaffe29f15e3e76b4536dbf368a501fb (patch) | |
| tree | 88ff1cad07c60bff061efe7e3798d4ff5398c612 /tools | |
| parent | 16fe720f1d2a6fb8b53539d44d7a5566ec657240 (diff) | |
tools/virtio: add struct module forward declaration
Declarate struct module in our linux/module.h stub.
Created using Cursor CLI.
Message-ID: <c01b8d24159664cc8c49354088efa342ae9e7321.1764873799.git.mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/virtio/linux/module.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/virtio/linux/module.h b/tools/virtio/linux/module.h index b91681fc1571..b842ae9d870c 100644 --- a/tools/virtio/linux/module.h +++ b/tools/virtio/linux/module.h @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/export.h> +struct module; + #define MODULE_LICENSE(__MODULE_LICENSE_value) \ static __attribute__((unused)) const char *__MODULE_LICENSE_name = \ __MODULE_LICENSE_value |
