mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-17 03:50:37 +00:00
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>
17 lines
346 B
C
17 lines
346 B
C
/* 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
|
|
|
|
#ifndef MODULE_AUTHOR
|
|
#define MODULE_AUTHOR(x)
|
|
#endif
|
|
|
|
#ifndef MODULE_DESCRIPTION
|
|
#define MODULE_DESCRIPTION(x)
|
|
#endif
|