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
98c77c79
Commit
98c77c79
authored
Aug 21, 2017
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc/input/hilkbd: Fix section mismatches
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
117c0239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/input/keyboard/hilkbd.c
drivers/input/keyboard/hilkbd.c
+5
-5
No files found.
drivers/input/keyboard/hilkbd.c
View file @
98c77c79
...
@@ -299,7 +299,7 @@ static void hil_keyb_exit(void)
...
@@ -299,7 +299,7 @@ static void hil_keyb_exit(void)
}
}
#if defined(CONFIG_PARISC)
#if defined(CONFIG_PARISC)
static
int
hil_probe_chip
(
struct
parisc_device
*
dev
)
static
int
__init
hil_probe_chip
(
struct
parisc_device
*
dev
)
{
{
/* Only allow one HIL keyboard */
/* Only allow one HIL keyboard */
if
(
hil_dev
.
dev
)
if
(
hil_dev
.
dev
)
...
@@ -320,14 +320,14 @@ static int hil_probe_chip(struct parisc_device *dev)
...
@@ -320,14 +320,14 @@ static int hil_probe_chip(struct parisc_device *dev)
return
hil_keyb_init
();
return
hil_keyb_init
();
}
}
static
int
hil_remove_chip
(
struct
parisc_device
*
dev
)
static
int
__exit
hil_remove_chip
(
struct
parisc_device
*
dev
)
{
{
hil_keyb_exit
();
hil_keyb_exit
();
return
0
;
return
0
;
}
}
static
struct
parisc_device_id
hil_tbl
[]
=
{
static
const
struct
parisc_device_id
hil_tbl
[]
__initconst
=
{
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00073
},
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00073
},
{
0
,
}
{
0
,
}
};
};
...
@@ -337,11 +337,11 @@ static struct parisc_device_id hil_tbl[] = {
...
@@ -337,11 +337,11 @@ static struct parisc_device_id hil_tbl[] = {
MODULE_DEVICE_TABLE(parisc, hil_tbl);
MODULE_DEVICE_TABLE(parisc, hil_tbl);
#endif
#endif
static
struct
parisc_driver
hil_driver
=
{
static
struct
parisc_driver
hil_driver
__refdata
=
{
.
name
=
"hil"
,
.
name
=
"hil"
,
.
id_table
=
hil_tbl
,
.
id_table
=
hil_tbl
,
.
probe
=
hil_probe_chip
,
.
probe
=
hil_probe_chip
,
.
remove
=
hil_remove_chip
,
.
remove
=
__exit_p
(
hil_remove_chip
)
,
};
};
static
int
__init
hil_init
(
void
)
static
int
__init
hil_init
(
void
)
...
...
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