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
49663185
Commit
49663185
authored
Aug 27, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: hppb: Convert HP PB bus driver to use arch_initcall()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
07c34e9f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
arch/parisc/include/asm/processor.h
arch/parisc/include/asm/processor.h
+0
-1
arch/parisc/kernel/setup.c
arch/parisc/kernel/setup.c
+0
-4
drivers/parisc/hppb.c
drivers/parisc/hppb.c
+4
-3
No files found.
arch/parisc/include/asm/processor.h
View file @
49663185
...
...
@@ -316,7 +316,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v);
extern
void
gsc_init
(
void
);
extern
void
processor_init
(
void
);
extern
void
ccio_init
(
void
);
extern
void
hppb_init
(
void
);
extern
void
iosapic_init
(
void
);
extern
void
lba_init
(
void
);
extern
void
sba_init
(
void
);
...
...
arch/parisc/kernel/setup.c
View file @
49663185
...
...
@@ -307,10 +307,6 @@ static int __init parisc_init(void)
parisc_eisa_init
();
#endif
#if defined(CONFIG_HPPB)
hppb_init
();
#endif
#ifdef CONFIG_CHASSIS_LCD_LED
register_led_regions
();
/* register LED port info in procfs */
#endif
...
...
drivers/parisc/hppb.c
View file @
49663185
...
...
@@ -96,9 +96,10 @@ static struct parisc_driver hppb_driver __refdata = {
/**
* hppb_init - HP-PB bus initialization procedure.
*
* Register this driver.
* Register this driver.
*/
void
__init
hppb_init
(
void
)
static
int
__init
hppb_init
(
void
)
{
register_parisc_driver
(
&
hppb_driver
);
re
turn
re
gister_parisc_driver
(
&
hppb_driver
);
}
arch_initcall
(
hppb_init
);
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