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
ac65d9c9
Commit
ac65d9c9
authored
Aug 27, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: wax: Initialize wax driver via arch_initcall()
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
9c2ca106
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
drivers/parisc/gsc.c
drivers/parisc/gsc.c
+0
-4
drivers/parisc/wax.c
drivers/parisc/wax.c
+9
-3
No files found.
drivers/parisc/gsc.c
View file @
ac65d9c9
...
...
@@ -261,16 +261,12 @@ int gsc_common_setup(struct parisc_device *parent, struct gsc_asic *gsc_asic)
extern
struct
parisc_driver
lasi_driver
;
extern
struct
parisc_driver
asp_driver
;
extern
struct
parisc_driver
wax_driver
;
static
int
__init
gsc_init
(
void
)
{
#ifdef CONFIG_GSC_LASI
register_parisc_driver
(
&
lasi_driver
);
register_parisc_driver
(
&
asp_driver
);
#endif
#ifdef CONFIG_GSC_WAX
register_parisc_driver
(
&
wax_driver
);
#endif
return
0
;
}
...
...
drivers/parisc/wax.c
View file @
ac65d9c9
...
...
@@ -4,7 +4,7 @@
*
* (c) Copyright 2000 The Puffin Group Inc.
*
* by Helge Deller <deller@gmx.de>
*
(c) 2000-2023
by Helge Deller <deller@gmx.de>
*/
#include <linux/errno.h>
...
...
@@ -127,8 +127,14 @@ static const struct parisc_device_id wax_tbl[] __initconst = {
MODULE_DEVICE_TABLE
(
parisc
,
wax_tbl
);
struct
parisc_driver
wax_driver
__refdata
=
{
st
atic
st
ruct
parisc_driver
wax_driver
__refdata
=
{
.
name
=
"wax"
,
.
id_table
=
wax_tbl
,
.
probe
=
wax_init_chip
,
};
static
int
__init
wax_init
(
void
)
{
return
register_parisc_driver
(
&
wax_driver
);
}
arch_initcall
(
wax_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