#ifndef __SOUND_STAC946X_H #define __SOUND_STAC946X_H #define STAC946X_RESET 0x00 #define STAC946X_STATUS 0x01 #define STAC946X_MASTER_VOLUME 0x02 #define STAC946X_LF_VOLUME 0x03 #define STAC946X_RF_VOLUME 0x04 #define STAC946X_LR_VOLUME 0x05 #define STAC946X_RR_VOLUME 0x06 #define STAC946X_CENTER_VOLUME 0x07 #define STAC946X_LFE_VOLUME 0x08 #define STAC946X_MIC_L_VOLUME 0x09 #define STAC946X_MIC_R_VOLUME 0x0a #define STAC946X_DEEMPHASIS 0x0c #define STAC946X_GENERAL_PURPOSE 0x0d #define STAC946X_AUDIO_PORT_CONTROL 0x0e #define STAC946X_MASTER_CLOCKING 0x0f #define STAC946X_POWERDOWN_CTRL1 0x10 #define STAC946X_POWERDOWN_CTRL2 0x11 #define STAC946X_REVISION_CODE 0x12 #define STAC946X_ADDRESS_CONTROL 0x13 #define STAC946X_ADDRESS 0x14 #endif /* __SOUND_STAC946X_H */ a> : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-12-08 20:22:41 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-12-12 07:43:32 -0200
commit406ff67d5820f592ff2b5ac2643a75f001b1d21f (patch)
treea26dca5192839824aa594b9de68502d8083c8bb2
parentc6d48134cb2682516ed50ca0cea2675d27d985e8 (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
-rw-r--r--drivers/media/i2c/tvp5150.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/tvp5150.c b/drivers/media/i2c/tvp5150.c