mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
media: v4l2-core: guard code against ABI breakage
Guard the code against ABI breakage using IS_ENABLED Helper macro. Guarded code will be compiled when config is set to m or y. CRs-Fixed: 2579332 Change-Id: Ic1a5ab22c8ced2c7b527bf5086c2c7b14fe24919 Signed-off-by: himta ram <[email protected]>
This commit is contained in:
parent
3da863f0f8
commit
b6f9c071a2
2 changed files with 2 additions and 2 deletions
|
|
@ -345,7 +345,7 @@ struct v4l2_ioctl_ops {
|
|||
struct v4l2_format *f);
|
||||
int (*vidioc_g_fmt_meta_out)(struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
#ifdef CONFIG_I2C_RTC6226_QCA
|
||||
#if IS_ENABLED(CONFIG_I2C_RTC6226_QCA)
|
||||
int (*vidioc_g_fmt_type_private)(struct file *file, void *fh,
|
||||
struct v4l2_format *f);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue