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
nexedi
linux
Commits
bf7a5219
Commit
bf7a5219
authored
Mar 16, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
3e35ee34
a71fa1f5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
drivers/acpi/acpi_bus.c
drivers/acpi/acpi_bus.c
+1
-1
drivers/base/core.c
drivers/base/core.c
+1
-1
include/linux/init.h
include/linux/init.h
+7
-7
No files found.
drivers/acpi/acpi_bus.c
View file @
bf7a5219
...
@@ -1464,7 +1464,7 @@ acpi_bus_add (
...
@@ -1464,7 +1464,7 @@ acpi_bus_add (
*/
*/
switch
(
type
)
{
switch
(
type
)
{
case
ACPI_BUS_TYPE_SYSTEM
:
case
ACPI_BUS_TYPE_SYSTEM
:
sprintf
(
device
->
pnp
.
bus_id
,
"%s"
,
"
root
"
);
sprintf
(
device
->
pnp
.
bus_id
,
"%s"
,
"
ACPI
"
);
break
;
break
;
case
ACPI_BUS_TYPE_POWER_BUTTON
:
case
ACPI_BUS_TYPE_POWER_BUTTON
:
sprintf
(
device
->
pnp
.
bus_id
,
"%s"
,
"PWRF"
);
sprintf
(
device
->
pnp
.
bus_id
,
"%s"
,
"PWRF"
);
...
...
drivers/base/core.c
View file @
bf7a5219
...
@@ -139,7 +139,7 @@ static int __init device_init(void)
...
@@ -139,7 +139,7 @@ static int __init device_init(void)
return
error
;
return
error
;
}
}
subsys
_initcall
(
device_init
);
core
_initcall
(
device_init
);
EXPORT_SYMBOL
(
device_register
);
EXPORT_SYMBOL
(
device_register
);
EXPORT_SYMBOL
(
put_device
);
EXPORT_SYMBOL
(
put_device
);
include/linux/init.h
View file @
bf7a5219
...
@@ -60,10 +60,10 @@ extern initcall_t __initcall_start, __initcall_end;
...
@@ -60,10 +60,10 @@ extern initcall_t __initcall_start, __initcall_end;
#define __define_initcall(level,fn) \
#define __define_initcall(level,fn) \
static initcall_t __initcall_##fn __attribute__ ((unused,__section__ (".initcall" level ".init"))) = fn
static initcall_t __initcall_##fn __attribute__ ((unused,__section__ (".initcall" level ".init"))) = fn
#define
early_arch
_initcall(fn) __define_initcall("1",fn)
#define
core
_initcall(fn) __define_initcall("1",fn)
#define
mem
_initcall(fn) __define_initcall("2",fn)
#define
unused
_initcall(fn) __define_initcall("2",fn)
#define
subsys
_initcall(fn) __define_initcall("3",fn)
#define
arch
_initcall(fn) __define_initcall("3",fn)
#define
arch
_initcall(fn) __define_initcall("4",fn)
#define
subsys
_initcall(fn) __define_initcall("4",fn)
#define fs_initcall(fn) __define_initcall("5",fn)
#define fs_initcall(fn) __define_initcall("5",fn)
#define device_initcall(fn) __define_initcall("6",fn)
#define device_initcall(fn) __define_initcall("6",fn)
#define late_initcall(fn) __define_initcall("7",fn)
#define late_initcall(fn) __define_initcall("7",fn)
...
@@ -159,10 +159,10 @@ typedef void (*__cleanup_module_func_t)(void);
...
@@ -159,10 +159,10 @@ typedef void (*__cleanup_module_func_t)(void);
#define __setup(str,func)
/* nothing */
#define __setup(str,func)
/* nothing */
#define early_arch_initcall(fn) module_init(fn)
#define core_initcall(fn) module_init(fn)
#define mem_initcall(fn) module_init(fn)
#define unused_initcall(fn) module_init(fn)
#define subsys_initcall(fn) module_init(fn)
#define arch_initcall(fn) module_init(fn)
#define arch_initcall(fn) module_init(fn)
#define subsys_initcall(fn) module_init(fn)
#define fs_initcall(fn) module_init(fn)
#define fs_initcall(fn) module_init(fn)
#define device_initcall(fn) module_init(fn)
#define device_initcall(fn) module_init(fn)
#define late_initcall(fn) module_init(fn)
#define late_initcall(fn) module_init(fn)
...
...
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