Eugene Yasman | 88426ca | 2011-12-13 13:31:41 +0200 | [diff] [blame] | 1 | |
| 2 | /* Copyright (c) 2011, Code Aurora Forum. All rights reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 and |
| 6 | * only version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | */ |
| 14 | #ifndef __MHL_API_H__ |
| 15 | #define __MHL_API_H__ |
| 16 | |
| 17 | #ifdef CONFIG_MHL |
| 18 | bool mhl_is_connected(void); |
| 19 | #else |
| 20 | static bool mhl_is_connected(void) |
| 21 | { |
| 22 | return false; |
| 23 | } |
| 24 | #endif |
| 25 | |
| 26 | #endif /* __MHL_API_H__ */ |