summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/drivers.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2019-05-10 20:49:16 +0200
committerHelge Deller <deller@gmx.de>2019-05-10 21:00:44 +0200
commit9aa8848a751fec5f655f4409875baaee1ca3e3e8 (patch)
treef7cf958d924492c9b02b396c8a12e68b9e4ce0d4 /arch/parisc/kernel/drivers.c
parent271c29a17fadd3eabbfe63f13bb49dfb6c9d872d (diff)
downloadlwn-9aa8848a751fec5f655f4409875baaee1ca3e3e8.tar.gz
lwn-9aa8848a751fec5f655f4409875baaee1ca3e3e8.zip
parisc: Use __ro_after_init in drivers.c
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/drivers.c')
-rw-r--r--arch/parisc/kernel/drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/drivers.c b/arch/parisc/kernel/drivers.c
index 15e7b3be7b6b..00a181f1ecc6 100644
--- a/arch/parisc/kernel/drivers.c
+++ b/arch/parisc/kernel/drivers.c
@@ -41,7 +41,7 @@
#include <asm/ropes.h>
/* See comments in include/asm-parisc/pci.h */
-const struct dma_map_ops *hppa_dma_ops __read_mostly;
+const struct dma_map_ops *hppa_dma_ops __ro_after_init;
EXPORT_SYMBOL(hppa_dma_ops);
static struct device root = {