]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAPDSS: HDMI: fix name conflict
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 9 Jun 2014 10:08:02 +0000 (13:08 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 4 Jul 2014 08:17:57 +0000 (11:17 +0300)
OMAP HDMI driver has an 'enum hdmi_audio_sample_size', which conflicts
with the common include/linux/hdmi.h.

Change the name of the OMAP specific enum with '_omap" postfix.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/hdmi.h

index fbee0781633752957c3765b67b632ae0b3607df1..1a62dc3fe54e46105d5424487c841c15a491fa40 100644 (file)
@@ -142,7 +142,7 @@ enum hdmi_audio_samples_perword {
        HDMI_AUDIO_ONEWORD_TWOSAMPLES = 1
 };
 
-enum hdmi_audio_sample_size {
+enum hdmi_audio_sample_size_omap {
        HDMI_AUDIO_SAMPLE_16BITS = 0,
        HDMI_AUDIO_SAMPLE_24BITS = 1
 };
@@ -260,7 +260,7 @@ struct hdmi_audio_format {
        enum hdmi_audio_justify                 justification;
        enum hdmi_audio_sample_order            sample_order;
        enum hdmi_audio_samples_perword         samples_per_word;
-       enum hdmi_audio_sample_size             sample_size;
+       enum hdmi_audio_sample_size_omap        sample_size;
        enum hdmi_audio_blk_strt_end_sig        en_sig_blk_strt_end;
 };