summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/dma/dmatest.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/dma/dmatest.c')
-rw-r--r--kernel/drivers/dma/dmatest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/dma/dmatest.c b/kernel/drivers/dma/dmatest.c
index 220ee4963..b8576fd6b 100644
--- a/kernel/drivers/dma/dmatest.c
+++ b/kernel/drivers/dma/dmatest.c
@@ -120,7 +120,7 @@ static struct dmatest_info {
static int dmatest_run_set(const char *val, const struct kernel_param *kp);
static int dmatest_run_get(char *val, const struct kernel_param *kp);
-static struct kernel_param_ops run_ops = {
+static const struct kernel_param_ops run_ops = {
.set = dmatest_run_set,
.get = dmatest_run_get,
};
@@ -195,7 +195,7 @@ static int dmatest_wait_get(char *val, const struct kernel_param *kp)
return param_get_bool(val, kp);
}
-static struct kernel_param_ops wait_ops = {
+static const struct kernel_param_ops wait_ops = {
.get = dmatest_wait_get,
.set = param_set_bool,
};