projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc3d8ed
)
ARM: imx: Make reset_control_ops const
author
Philipp Zabel
<p.zabel@pengutronix.de>
Thu, 25 Feb 2016 09:44:41 +0000
(10:44 +0100)
committer
Shawn Guo
<shawnguo@kernel.org>
Mon, 29 Feb 2016 02:37:44 +0000
(10:37 +0800)
The imx_src_ops structure is never modified. Make it const.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/src.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-imx/src.c
b/arch/arm/mach-imx/src.c
index 45f7f4e0a447c517bb9b731eb402e33ea3083f43..70b083fe934a8f7763cd4cfc4dca0fea73f66d3d 100644
(file)
--- a/
arch/arm/mach-imx/src.c
+++ b/
arch/arm/mach-imx/src.c
@@
-73,7
+73,7
@@
static int imx_src_reset_module(struct reset_controller_dev *rcdev,
return 0;
}
-static struct reset_control_ops imx_src_ops = {
+static
const
struct reset_control_ops imx_src_ops = {
.reset = imx_src_reset_module,
};