mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
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>
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0 */
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
#include <linux/export.h>
|
#include <linux/export.h>
|
||||||
|
|
||||||
|
struct module;
|
||||||
|
|
||||||
#define MODULE_LICENSE(__MODULE_LICENSE_value) \
|
#define MODULE_LICENSE(__MODULE_LICENSE_value) \
|
||||||
static __attribute__((unused)) const char *__MODULE_LICENSE_name = \
|
static __attribute__((unused)) const char *__MODULE_LICENSE_name = \
|
||||||
__MODULE_LICENSE_value
|
__MODULE_LICENSE_value
|
||||||
|
|||||||
Reference in New Issue
Block a user