From 88426ca238a783acf165f8b4e0958cd3cced6cf9 Mon Sep 17 00:00:00 2001 From: Eugene Yasman Date: Tue, 13 Dec 2011 13:31:41 +0200 Subject: [PATCH] video: msm: Add mhl api header file MHL API defines an interface for HDMI driver. The API provides the information of the MHL connection state for HDMI to transmit the MHL supported video format. Change-Id: If19e497b7a238eb0465f9fb13b5586d3b9043360 Signed-off-by: Eugene Yasman --- drivers/video/msm/mhl_api.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 drivers/video/msm/mhl_api.h diff --git a/drivers/video/msm/mhl_api.h b/drivers/video/msm/mhl_api.h new file mode 100644 index 00000000000..3f70dacfbdf --- /dev/null +++ b/drivers/video/msm/mhl_api.h @@ -0,0 +1,26 @@ + +/* Copyright (c) 2011, Code Aurora Forum. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ +#ifndef __MHL_API_H__ +#define __MHL_API_H__ + +#ifdef CONFIG_MHL +bool mhl_is_connected(void); +#else +static bool mhl_is_connected(void) +{ + return false; +} +#endif + +#endif /* __MHL_API_H__ */