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
df3f9359
Commit
df3f9359
authored
Aug 27, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: lba: Convert LBA PCI bus driver to use arch_initcall()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
ba8723b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
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
-3
drivers/parisc/lba_pci.c
drivers/parisc/lba_pci.c
+3
-2
No files found.
arch/parisc/include/asm/processor.h
View file @
df3f9359
...
...
@@ -315,7 +315,6 @@ extern int show_cpuinfo (struct seq_file *m, void *v);
/* driver code in driver/parisc */
extern
void
processor_init
(
void
);
extern
void
iosapic_init
(
void
);
extern
void
lba_init
(
void
);
extern
void
sba_init
(
void
);
struct
parisc_device
;
struct
resource
;
...
...
arch/parisc/kernel/setup.c
View file @
df3f9359
...
...
@@ -286,9 +286,6 @@ static int __init parisc_init(void)
#if defined(CONFIG_IOMMU_SBA)
sba_init
();
#endif
#if defined(CONFIG_PCI_LBA)
lba_init
();
#endif
#ifdef CONFIG_CHASSIS_LCD_LED
register_led_regions
();
/* register LED port info in procfs */
...
...
drivers/parisc/lba_pci.c
View file @
df3f9359
...
...
@@ -1682,10 +1682,11 @@ static struct parisc_driver lba_driver __refdata = {
** One time initialization to let the world know the LBA was found.
** Must be called exactly once before pci_init().
*/
void
__init
lba_init
(
void
)
static
int
__init
lba_init
(
void
)
{
register_parisc_driver
(
&
lba_driver
);
re
turn
re
gister_parisc_driver
(
&
lba_driver
);
}
arch_initcall
(
lba_init
);
/*
** Initialize the IBASE/IMASK registers for LBA (Elroy).
...
...
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