aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc/eisa.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-08-21 22:02:19 +0200
committerHelge Deller <deller@gmx.de>2017-08-22 16:34:36 +0200
commitcfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d (patch)
treeb3df38bb57f5f662bdfb779bab7e65102f780d7f /drivers/parisc/eisa.c
parentparisc/parport_gsc: Fix section mismatches (diff)
downloadlinux-dev-cfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d.tar.xz
linux-dev-cfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d.zip
parisc: Fix section mismatches in parisc core drivers
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/eisa.c')
-rw-r--r--drivers/parisc/eisa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/eisa.c b/drivers/parisc/eisa.c
index 7e2f6d5a6aaf..9ff434f354bd 100644
--- a/drivers/parisc/eisa.c
+++ b/drivers/parisc/eisa.c
@@ -393,7 +393,7 @@ error_release:
return result;
}
-static const struct parisc_device_id eisa_tbl[] = {
+static const struct parisc_device_id eisa_tbl[] __initconst = {
{ HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00076 }, /* Mongoose */
{ HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00090 }, /* Wax EISA */
{ 0, }
@@ -401,7 +401,7 @@ static const struct parisc_device_id eisa_tbl[] = {
MODULE_DEVICE_TABLE(parisc, eisa_tbl);
-static struct parisc_driver eisa_driver = {
+static struct parisc_driver eisa_driver __refdata = {
.name = "eisa_ba",
.id_table = eisa_tbl,
.probe = eisa_probe,