mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
module: make module_sect_attrs private to kernel/module.c
No-one else is using these afaics. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
e4c576b911
commit
a58730c421
2 changed files with 15 additions and 18 deletions
|
@ -229,23 +229,6 @@ enum module_state
|
|||
MODULE_STATE_GOING,
|
||||
};
|
||||
|
||||
/* Similar stuff for section attributes. */
|
||||
struct module_sect_attr
|
||||
{
|
||||
struct module_attribute mattr;
|
||||
char *name;
|
||||
unsigned long address;
|
||||
};
|
||||
|
||||
struct module_sect_attrs
|
||||
{
|
||||
struct attribute_group grp;
|
||||
int nsections;
|
||||
struct module_sect_attr attrs[0];
|
||||
};
|
||||
|
||||
struct module_param_attrs;
|
||||
|
||||
struct module
|
||||
{
|
||||
enum module_state state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue