summaryrefslogtreecommitdiff
path: root/include/linux/fsl/mc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fsl/mc.h')
-rw-r--r--include/linux/fsl/mc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fsl/mc.h b/include/linux/fsl/mc.h
index a1b3de87a3d1..083c860fd28e 100644
--- a/include/linux/fsl/mc.h
+++ b/include/linux/fsl/mc.h
@@ -56,7 +56,7 @@ struct fsl_mc_driver {
};
#define to_fsl_mc_driver(_drv) \
- container_of(_drv, struct fsl_mc_driver, driver)
+ container_of_const(_drv, struct fsl_mc_driver, driver)
/**
* enum fsl_mc_pool_type - Types of allocatable MC bus resources