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
9e466f10
Commit
9e466f10
authored
Aug 21, 2017
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc/8250_gsc: Fix section mismatches
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
fc72b7a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/tty/serial/8250/8250_gsc.c
drivers/tty/serial/8250/8250_gsc.c
+4
-4
No files found.
drivers/tty/serial/8250/8250_gsc.c
View file @
9e466f10
...
@@ -80,7 +80,7 @@ static int __init serial_init_chip(struct parisc_device *dev)
...
@@ -80,7 +80,7 @@ static int __init serial_init_chip(struct parisc_device *dev)
return
0
;
return
0
;
}
}
static
struct
parisc_device_id
serial_tbl
[]
=
{
static
const
struct
parisc_device_id
serial_tbl
[]
__initconst
=
{
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00075
},
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x00075
},
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x0008c
},
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x0008c
},
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x0008d
},
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
HVERSION_ANY_ID
,
0x0008d
},
...
@@ -94,7 +94,7 @@ static struct parisc_device_id serial_tbl[] = {
...
@@ -94,7 +94,7 @@ static struct parisc_device_id serial_tbl[] = {
* which only knows about Lasi and then a second which will find all the
* which only knows about Lasi and then a second which will find all the
* other serial ports. HPUX ignores this problem.
* other serial ports. HPUX ignores this problem.
*/
*/
static
struct
parisc_device_id
lasi_tbl
[]
=
{
static
const
struct
parisc_device_id
lasi_tbl
[]
__initconst
=
{
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
0x03B
,
0x0008C
},
/* C1xx/C1xxL */
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
0x03B
,
0x0008C
},
/* C1xx/C1xxL */
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
0x03C
,
0x0008C
},
/* B132L */
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
0x03C
,
0x0008C
},
/* B132L */
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
0x03D
,
0x0008C
},
/* B160L */
{
HPHW_FIO
,
HVERSION_REV_ANY_ID
,
0x03D
,
0x0008C
},
/* B160L */
...
@@ -110,13 +110,13 @@ static struct parisc_device_id lasi_tbl[] = {
...
@@ -110,13 +110,13 @@ static struct parisc_device_id lasi_tbl[] = {
MODULE_DEVICE_TABLE
(
parisc
,
serial_tbl
);
MODULE_DEVICE_TABLE
(
parisc
,
serial_tbl
);
static
struct
parisc_driver
lasi_driver
=
{
static
struct
parisc_driver
lasi_driver
__refdata
=
{
.
name
=
"serial_1"
,
.
name
=
"serial_1"
,
.
id_table
=
lasi_tbl
,
.
id_table
=
lasi_tbl
,
.
probe
=
serial_init_chip
,
.
probe
=
serial_init_chip
,
};
};
static
struct
parisc_driver
serial_driver
=
{
static
struct
parisc_driver
serial_driver
__refdata
=
{
.
name
=
"serial"
,
.
name
=
"serial"
,
.
id_table
=
serial_tbl
,
.
id_table
=
serial_tbl
,
.
probe
=
serial_init_chip
,
.
probe
=
serial_init_chip
,
...
...
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