summaryrefslogtreecommitdiff
path: root/drivers/parisc/asp.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-08-21 23:02:19 +0300
committerHelge Deller <deller@gmx.de>2017-08-22 17:34:36 +0300
commitcfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d (patch)
treeb3df38bb57f5f662bdfb779bab7e65102f780d7f /drivers/parisc/asp.c
parentf0973443bef706b6bccc8a1b99a19b8e389bf9cd (diff)
downloadlinux-cfe4fbfb23b3280e9a4d1c3b8438c1558a6a614d.tar.xz
parisc: Fix section mismatches in parisc core drivers
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/asp.c')
-rw-r--r--drivers/parisc/asp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/asp.c b/drivers/parisc/asp.c
index 6a1ab2512a53..3163b6752d3d 100644
--- a/drivers/parisc/asp.c
+++ b/drivers/parisc/asp.c
@@ -118,12 +118,12 @@ static int __init asp_init_chip(struct parisc_device *dev)
return ret;
}
-static struct parisc_device_id asp_tbl[] = {
+static const struct parisc_device_id asp_tbl[] __initconst = {
{ HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00070 },
{ 0, }
};
-struct parisc_driver asp_driver = {
+struct parisc_driver asp_driver __refdata = {
.name = "asp",
.id_table = asp_tbl,
.probe = asp_init_chip,