summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/smiapp-pll.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-10-22 11:40:57 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-29 09:51:38 -0200
commit8f7e91a31fb95c50880c76505b416630c0326d93 (patch)
treed84a8d4435838dc38fb133696737c63ac5264c66 /drivers/media/i2c/smiapp-pll.h
parent6ec84a28f5f40e3ebef5d8186c4b11b10aa295d7 (diff)
downloadop-kernel-dev-8f7e91a31fb95c50880c76505b416630c0326d93.zip
op-kernel-dev-8f7e91a31fb95c50880c76505b416630c0326d93.tar.gz
[media] smiapp-pll: Constify limits argument to smiapp_pll_calculate()
The limits are input parameters and should not be modified by the smiapp_pll_calculate() function. Make them const. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/smiapp-pll.h')
-rw-r--r--drivers/media/i2c/smiapp-pll.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp-pll.h b/drivers/media/i2c/smiapp-pll.h
index 8500e6e..9491a41 100644
--- a/drivers/media/i2c/smiapp-pll.h
+++ b/drivers/media/i2c/smiapp-pll.h
@@ -107,7 +107,8 @@ struct smiapp_pll_limits {
struct device;
-int smiapp_pll_calculate(struct device *dev, struct smiapp_pll_limits *limits,
+int smiapp_pll_calculate(struct device *dev,
+ const struct smiapp_pll_limits *limits,
struct smiapp_pll *pll);
#endif /* SMIAPP_PLL_H */
OpenPOWER on IntegriCloud