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
c1bebd07
Commit
c1bebd07
authored
Aug 21, 2017
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc/serio: Fix section mismatches in gscps2 and hp_sdc drivers
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
cfe4fbfb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
drivers/input/serio/gscps2.c
drivers/input/serio/gscps2.c
+5
-5
drivers/input/serio/hp_sdc.c
drivers/input/serio/hp_sdc.c
+2
-2
No files found.
drivers/input/serio/gscps2.c
View file @
c1bebd07
...
@@ -325,7 +325,7 @@ static void gscps2_close(struct serio *port)
...
@@ -325,7 +325,7 @@ static void gscps2_close(struct serio *port)
* @return: success/error report
* @return: success/error report
*/
*/
static
int
gscps2_probe
(
struct
parisc_device
*
dev
)
static
int
__init
gscps2_probe
(
struct
parisc_device
*
dev
)
{
{
struct
gscps2port
*
ps2port
;
struct
gscps2port
*
ps2port
;
struct
serio
*
serio
;
struct
serio
*
serio
;
...
@@ -412,7 +412,7 @@ static int gscps2_probe(struct parisc_device *dev)
...
@@ -412,7 +412,7 @@ static int gscps2_probe(struct parisc_device *dev)
* @return: success/error report
* @return: success/error report
*/
*/
static
int
gscps2_remove
(
struct
parisc_device
*
dev
)
static
int
__exit
gscps2_remove
(
struct
parisc_device
*
dev
)
{
{
struct
gscps2port
*
ps2port
=
dev_get_drvdata
(
&
dev
->
dev
);
struct
gscps2port
*
ps2port
=
dev_get_drvdata
(
&
dev
->
dev
);
...
@@ -430,7 +430,7 @@ static int gscps2_remove(struct parisc_device *dev)
...
@@ -430,7 +430,7 @@ static int gscps2_remove(struct parisc_device *dev)
}
}
static
struct
parisc_device_id
gscps2_device_tbl
[]
=
{
static
const
struct
parisc_device_id
gscps2_device_tbl
[]
__initconst
=
{
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00084
},
/* LASI PS/2 */
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00084
},
/* LASI PS/2 */
#ifdef DINO_TESTED
#ifdef DINO_TESTED
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00096
},
/* DINO PS/2 */
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00096
},
/* DINO PS/2 */
...
@@ -439,11 +439,11 @@ static struct parisc_device_id gscps2_device_tbl[] = {
...
@@ -439,11 +439,11 @@ static struct parisc_device_id gscps2_device_tbl[] = {
};
};
MODULE_DEVICE_TABLE
(
parisc
,
gscps2_device_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
gscps2_device_tbl
);
static
struct
parisc_driver
parisc_ps2_driver
=
{
static
struct
parisc_driver
parisc_ps2_driver
__refdata
=
{
.
name
=
"gsc_ps2"
,
.
name
=
"gsc_ps2"
,
.
id_table
=
gscps2_device_tbl
,
.
id_table
=
gscps2_device_tbl
,
.
probe
=
gscps2_probe
,
.
probe
=
gscps2_probe
,
.
remove
=
gscps2_remove
,
.
remove
=
__exit_p
(
gscps2_remove
)
,
};
};
static
int
__init
gscps2_init
(
void
)
static
int
__init
gscps2_init
(
void
)
...
...
drivers/input/serio/hp_sdc.c
View file @
c1bebd07
...
@@ -805,7 +805,7 @@ static void hp_sdc_kicker(unsigned long data)
...
@@ -805,7 +805,7 @@ static void hp_sdc_kicker(unsigned long data)
#if defined(__hppa__)
#if defined(__hppa__)
static
const
struct
parisc_device_id
hp_sdc_tbl
[]
=
{
static
const
struct
parisc_device_id
hp_sdc_tbl
[]
__initconst
=
{
{
{
.
hw_type
=
HPHW_FIO
,
.
hw_type
=
HPHW_FIO
,
.
hversion_rev
=
HVERSION_REV_ANY_ID
,
.
hversion_rev
=
HVERSION_REV_ANY_ID
,
...
@@ -820,7 +820,7 @@ MODULE_DEVICE_TABLE(parisc, hp_sdc_tbl);
...
@@ -820,7 +820,7 @@ MODULE_DEVICE_TABLE(parisc, hp_sdc_tbl);
static
int
__init
hp_sdc_init_hppa
(
struct
parisc_device
*
d
);
static
int
__init
hp_sdc_init_hppa
(
struct
parisc_device
*
d
);
static
struct
delayed_work
moduleloader_work
;
static
struct
delayed_work
moduleloader_work
;
static
struct
parisc_driver
hp_sdc_driver
=
{
static
struct
parisc_driver
hp_sdc_driver
__refdata
=
{
.
name
=
"hp_sdc"
,
.
name
=
"hp_sdc"
,
.
id_table
=
hp_sdc_tbl
,
.
id_table
=
hp_sdc_tbl
,
.
probe
=
hp_sdc_init_hppa
,
.
probe
=
hp_sdc_init_hppa
,
...
...
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