aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/v4l2-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/v4l2-common.c')
-rw-r--r--drivers/media/video/v4l2-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c
index 1ebbe738019f..b91d66a767d7 100644
--- a/drivers/media/video/v4l2-common.c
+++ b/drivers/media/video/v4l2-common.c
@@ -1021,6 +1021,8 @@ const unsigned short *v4l2_i2c_tuner_addrs(enum v4l2_i2c_tuner_type type)
1021} 1021}
1022EXPORT_SYMBOL_GPL(v4l2_i2c_tuner_addrs); 1022EXPORT_SYMBOL_GPL(v4l2_i2c_tuner_addrs);
1023 1023
1024#endif /* defined(CONFIG_I2C) */
1025
1024/* Clamp x to be between min and max, aligned to a multiple of 2^align. min 1026/* Clamp x to be between min and max, aligned to a multiple of 2^align. min
1025 * and max don't have to be aligned, but there must be at least one valid 1027 * and max don't have to be aligned, but there must be at least one valid
1026 * value. E.g., min=17,max=31,align=4 is not allowed as there are no multiples 1028 * value. E.g., min=17,max=31,align=4 is not allowed as there are no multiples
@@ -1094,4 +1096,3 @@ void v4l_bound_align_image(u32 *w, unsigned int wmin, unsigned int wmax,
1094 } 1096 }
1095} 1097}
1096EXPORT_SYMBOL_GPL(v4l_bound_align_image); 1098EXPORT_SYMBOL_GPL(v4l_bound_align_image);
1097#endif /* defined(CONFIG_I2C) */