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
07c34e9f
Commit
07c34e9f
authored
Aug 27, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: dino: Convert dino PCI bus driver to use arch_initcall()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
59bf860a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
+3
-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/dino.c
drivers/parisc/dino.c
+3
-3
No files found.
arch/parisc/include/asm/processor.h
View file @
07c34e9f
...
@@ -317,7 +317,6 @@ extern void gsc_init(void);
...
@@ -317,7 +317,6 @@ extern void gsc_init(void);
extern
void
processor_init
(
void
);
extern
void
processor_init
(
void
);
extern
void
ccio_init
(
void
);
extern
void
ccio_init
(
void
);
extern
void
hppb_init
(
void
);
extern
void
hppb_init
(
void
);
extern
void
dino_init
(
void
);
extern
void
iosapic_init
(
void
);
extern
void
iosapic_init
(
void
);
extern
void
lba_init
(
void
);
extern
void
lba_init
(
void
);
extern
void
sba_init
(
void
);
extern
void
sba_init
(
void
);
...
...
arch/parisc/kernel/setup.c
View file @
07c34e9f
...
@@ -311,10 +311,6 @@ static int __init parisc_init(void)
...
@@ -311,10 +311,6 @@ static int __init parisc_init(void)
hppb_init
();
hppb_init
();
#endif
#endif
#if defined(CONFIG_GSC_DINO)
dino_init
();
#endif
#ifdef CONFIG_CHASSIS_LCD_LED
#ifdef CONFIG_CHASSIS_LCD_LED
register_led_regions
();
/* register LED port info in procfs */
register_led_regions
();
/* register LED port info in procfs */
#endif
#endif
...
...
drivers/parisc/dino.c
View file @
07c34e9f
...
@@ -1084,8 +1084,8 @@ static struct parisc_driver dino_driver __refdata = {
...
@@ -1084,8 +1084,8 @@ static struct parisc_driver dino_driver __refdata = {
* This is the only routine which is NOT static.
* This is the only routine which is NOT static.
* Must be called exactly once before pci_init().
* Must be called exactly once before pci_init().
*/
*/
void
__init
dino_init
(
void
)
static
int
__init
dino_init
(
void
)
{
{
register_parisc_driver
(
&
dino_driver
);
re
turn
re
gister_parisc_driver
(
&
dino_driver
);
}
}
arch_initcall
(
dino_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