mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm_fb: hdmi: Guard HDMI related functions
HDMI dependent functions need to be guarded under HDMI panel macro to avoid compilation errors for non HDMI builds. CRs-Fixed: 366864 Change-Id: I02780c167f14e7e44b9f99c121ee2f46a5341051 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
This commit is contained in:
parent
1ff096218e
commit
1f4abb5441
1 changed files with 10 additions and 1 deletions
|
@ -36,7 +36,16 @@ int hdmi_audio_enable(bool on , u32 fifo_water_mark);
|
|||
int hdmi_audio_packet_enable(bool on);
|
||||
void hdmi_msm_audio_sample_rate_reset(int rate);
|
||||
int hdmi_msm_audio_get_sample_rate(void);
|
||||
|
||||
#ifdef CONFIG_FB_MSM_HDMI_MSM_PANEL
|
||||
int hdmi_msm_audio_info_setup(bool enabled, u32 num_of_channels,
|
||||
u32 channel_allocation, u32 level_shift, bool down_mix);
|
||||
|
||||
#else
|
||||
static inline int hdmi_msm_audio_info_setup(bool enabled,
|
||||
u32 num_of_channels, u32 channel_allocation, u32 level_shift,
|
||||
bool down_mix)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif /* __MSM_HDMI_AUDIO_H*/
|
||||
|
|
Loading…
Reference in a new issue