summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinay Simha BN <simhavcs@gmail.com>2017-03-14 10:55:56 +0530
committerRob Clark <robdclark@gmail.com>2017-04-03 16:09:36 -0400
commitd322a693f585832130c3d09f2175b8f2b3ae99e1 (patch)
treeef10f879b34217e64f41ad5d2fd8a9c5c90f8d62
parent30512040ed8e1982e5ba16bb3e3a7f000ff65427 (diff)
drm/msm/hdmi: redefinitions of macros not required
4 macros already defined in hdmi.h, which is not required to redefine in hdmi_audio.c Signed-off-by: Vinay Simha BN <simhavcs@gmail.com> Signed-off-by: Rob Clark <robdclark@gmail.com>
-rw-r--r--drivers/gpu/drm/msm/hdmi/hdmi_audio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_audio.c b/drivers/gpu/drm/msm/hdmi/hdmi_audio.c
index a54d3bb5baad..8177e8511afd 100644
--- a/drivers/gpu/drm/msm/hdmi/hdmi_audio.c
+++ b/drivers/gpu/drm/msm/hdmi/hdmi_audio.c
@@ -18,13 +18,6 @@
#include <linux/hdmi.h>
#include "hdmi.h"
-
-/* Supported HDMI Audio channels */
-#define MSM_HDMI_AUDIO_CHANNEL_2 0
-#define MSM_HDMI_AUDIO_CHANNEL_4 1
-#define MSM_HDMI_AUDIO_CHANNEL_6 2
-#define MSM_HDMI_AUDIO_CHANNEL_8 3
-
/* maps MSM_HDMI_AUDIO_CHANNEL_n consts used by audio driver to # of channels: */
static int nchannels[] = { 2, 4, 6, 8 };