Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ed3aefb3
Commit
ed3aefb3
authored
Apr 04, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kobject: add NULL to decl_subsys() due to addition of hotplug operations
parent
ac6ecad3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
7 deletions
+9
-7
arch/i386/kernel/edd.c
arch/i386/kernel/edd.c
+1
-1
drivers/acpi/bus.c
drivers/acpi/bus.c
+1
-1
drivers/base/bus.c
drivers/base/bus.c
+1
-1
drivers/base/class.c
drivers/base/class.c
+3
-1
drivers/base/firmware.c
drivers/base/firmware.c
+1
-1
fs/filesystems.c
fs/filesystems.c
+1
-1
net/core/dev.c
net/core/dev.c
+1
-1
No files found.
arch/i386/kernel/edd.c
View file @
ed3aefb3
...
...
@@ -598,7 +598,7 @@ static struct kobj_type ktype_edd = {
.
default_attrs
=
def_attrs
,
};
static
decl_subsys
(
edd
,
&
ktype_edd
);
static
decl_subsys
(
edd
,
&
ktype_edd
,
NULL
);
/**
...
...
drivers/acpi/bus.c
View file @
ed3aefb3
...
...
@@ -676,7 +676,7 @@ acpi_bus_init (void)
return_VALUE
(
-
ENODEV
);
}
decl_subsys
(
acpi
,
NULL
);
decl_subsys
(
acpi
,
NULL
,
NULL
);
static
int
__init
acpi_init
(
void
)
{
...
...
drivers/base/bus.c
View file @
ed3aefb3
...
...
@@ -132,7 +132,7 @@ static struct kobj_type ktype_bus = {
};
decl_subsys
(
bus
,
&
ktype_bus
);
decl_subsys
(
bus
,
&
ktype_bus
,
NULL
);
/**
* bus_for_each_dev - device iterator.
...
...
drivers/base/class.c
View file @
ed3aefb3
...
...
@@ -49,7 +49,9 @@ static struct kobj_type ktype_devclass = {
.
sysfs_ops
=
&
class_sysfs_ops
,
};
static
decl_subsys
(
class
,
&
ktype_devclass
);
/* Classes can't use the kobject hotplug logic, as
* they do not add new kobjects to the system */
static
decl_subsys
(
class
,
&
ktype_devclass
,
NULL
);
static
int
devclass_dev_link
(
struct
device_class
*
cls
,
struct
device
*
dev
)
...
...
drivers/base/firmware.c
View file @
ed3aefb3
...
...
@@ -6,7 +6,7 @@
#include <linux/module.h>
#include <linux/init.h>
static
decl_subsys
(
firmware
,
NULL
);
static
decl_subsys
(
firmware
,
NULL
,
NULL
);
int
firmware_register
(
struct
subsystem
*
s
)
{
...
...
fs/filesystems.c
View file @
ed3aefb3
...
...
@@ -61,7 +61,7 @@ static struct file_system_type **find_filesystem(const char *name)
/* define fs_subsys */
static
decl_subsys
(
fs
,
NULL
);
static
decl_subsys
(
fs
,
NULL
,
NULL
);
static
int
register_fs_subsys
(
struct
file_system_type
*
fs
)
{
...
...
net/core/dev.c
View file @
ed3aefb3
...
...
@@ -2815,7 +2815,7 @@ extern void ip_auto_config(void);
extern
void
dv_init
(
void
);
#endif
/* CONFIG_NET_DIVERT */
static
decl_subsys
(
net
,
NULL
);
static
decl_subsys
(
net
,
NULL
,
NULL
);
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment