mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
d4f659e12a
Some are outdated, misleading or just repeat the same thing over and over. Remove them as they are not needed. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Link: https://lore.kernel.org/r/20240723185921.1005569-3-lucas.de.marchi@gmail.com Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
29 lines
775 B
C
29 lines
775 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2011-2013 ProFUSION embedded systems
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <shared/macro.h>
|
|
|
|
struct kmod_cmd {
|
|
const char *name;
|
|
int (*cmd)(int argc, char *argv[]);
|
|
const char *help;
|
|
};
|
|
|
|
extern const struct kmod_cmd kmod_cmd_compat_lsmod;
|
|
extern const struct kmod_cmd kmod_cmd_compat_rmmod;
|
|
extern const struct kmod_cmd kmod_cmd_compat_insmod;
|
|
extern const struct kmod_cmd kmod_cmd_compat_modinfo;
|
|
extern const struct kmod_cmd kmod_cmd_compat_modprobe;
|
|
extern const struct kmod_cmd kmod_cmd_compat_depmod;
|
|
|
|
extern const struct kmod_cmd kmod_cmd_insert;
|
|
extern const struct kmod_cmd kmod_cmd_list;
|
|
extern const struct kmod_cmd kmod_cmd_static_nodes;
|
|
extern const struct kmod_cmd kmod_cmd_remove;
|
|
|
|
#include "log.h"
|