diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-12-08 20:22:41 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-12-12 07:43:32 -0200 |
commit | 406ff67d5820f592ff2b5ac2643a75f001b1d21f (patch) | |
tree | a26dca5192839824aa594b9de68502d8083c8bb2 /include/sound | |
parent | c6d48134cb2682516ed50ca0cea2675d27d985e8 (diff) |
[media] v4l: tvp5150: Compile tvp5150_link_setup out if !CONFIG_MEDIA_CONTROLLER
The function is only referenced as a handler in the tvp5150_sd_media_ops
structure, which is only used when CONFIG_MEDIA_CONTROLLER is set. Don't
define the function and the structure when the configuration option is
unset to avoid an unused function warning.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions