aboutsummaryrefslogtreecommitdiff
path: root/include/linux/soc/qcom/apr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/soc/qcom/apr.h')
-rw-r--r--include/linux/soc/qcom/apr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/soc/qcom/apr.h b/include/linux/soc/qcom/apr.h
index 7161a3183eda..a532d1e4b1f4 100644
--- a/include/linux/soc/qcom/apr.h
+++ b/include/linux/soc/qcom/apr.h
@@ -162,7 +162,7 @@ struct apr_driver {
};
typedef struct apr_driver gpr_driver_t;
-#define to_apr_driver(d) container_of(d, struct apr_driver, driver)
+#define to_apr_driver(d) container_of_const(d, struct apr_driver, driver)
/*
* use a macro to avoid include chaining to get THIS_MODULE