diff options
author | Helge Deller <deller@gmx.de> | 2017-08-21 15:56:08 -0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-08-22 10:34:36 -0400 |
commit | 9e466f101e19f0836e8040a7bf4cde2205534963 (patch) | |
tree | c09698beda86901768149c2afa542d2121798dcb | |
parent | fc72b7a3a0d893576afb19b4f38c1d6160e9753b (diff) |
parisc/8250_gsc: Fix section mismatches
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | drivers/tty/serial/8250/8250_gsc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/tty/serial/8250/8250_gsc.c b/drivers/tty/serial/8250/8250_gsc.c index 63306de4390d..df2931e1e086 100644 --- a/drivers/tty/serial/8250/8250_gsc.c +++ b/drivers/tty/serial/8250/8250_gsc.c | |||
@@ -80,7 +80,7 @@ static int __init serial_init_chip(struct parisc_device *dev) | |||
80 | return 0; | 80 | return 0; |
81 | } | 81 | } |
82 | 82 | ||
83 | static struct parisc_device_id serial_tbl[] = { | 83 | static const struct parisc_device_id serial_tbl[] __initconst = { |
84 | { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00075 }, | 84 | { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00075 }, |
85 | { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0008c }, | 85 | { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0008c }, |
86 | { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0008d }, | 86 | { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0008d }, |
@@ -94,7 +94,7 @@ static struct parisc_device_id serial_tbl[] = { | |||
94 | * which only knows about Lasi and then a second which will find all the | 94 | * which only knows about Lasi and then a second which will find all the |
95 | * other serial ports. HPUX ignores this problem. | 95 | * other serial ports. HPUX ignores this problem. |
96 | */ | 96 | */ |
97 | static struct parisc_device_id lasi_tbl[] = { | 97 | static const struct parisc_device_id lasi_tbl[] __initconst = { |
98 | { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03B, 0x0008C }, /* C1xx/C1xxL */ | 98 | { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03B, 0x0008C }, /* C1xx/C1xxL */ |
99 | { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03C, 0x0008C }, /* B132L */ | 99 | { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03C, 0x0008C }, /* B132L */ |
100 | { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03D, 0x0008C }, /* B160L */ | 100 | { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03D, 0x0008C }, /* B160L */ |
@@ -110,13 +110,13 @@ static struct parisc_device_id lasi_tbl[] = { | |||
110 | 110 | ||
111 | MODULE_DEVICE_TABLE(parisc, serial_tbl); | 111 | MODULE_DEVICE_TABLE(parisc, serial_tbl); |
112 | 112 | ||
113 | static struct parisc_driver lasi_driver = { | 113 | static struct parisc_driver lasi_driver __refdata = { |
114 | .name = "serial_1", | 114 | .name = "serial_1", |
115 | .id_table = lasi_tbl, | 115 | .id_table = lasi_tbl, |
116 | .probe = serial_init_chip, | 116 | .probe = serial_init_chip, |
117 | }; | 117 | }; |
118 | 118 | ||
119 | static struct parisc_driver serial_driver = { | 119 | static struct parisc_driver serial_driver __refdata = { |
120 | .name = "serial", | 120 | .name = "serial", |
121 | .id_table = serial_tbl, | 121 | .id_table = serial_tbl, |
122 | .probe = serial_init_chip, | 122 | .probe = serial_init_chip, |