spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / arm / plat-samsung / include / plat / tv-core.h
blob3bc34f3ce28fb68703d4caf1a13db8d10cac025d
1 /*
2 * arch/arm/plat-samsung/include/plat/tv.h
4 * Copyright 2011 Samsung Electronics Co., Ltd.
5 * Tomasz Stanislawski <t.stanislaws@samsung.com>
7 * Samsung TV driver core functions
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
14 #ifndef __SAMSUNG_PLAT_TV_H
15 #define __SAMSUNG_PLAT_TV_H __FILE__
18 * These functions are only for use with the core support code, such as
19 * the CPU-specific initialization code.
22 /* Re-define device name to differentiate the subsystem in various SoCs. */
23 static inline void s5p_hdmi_setname(char *name)
25 #ifdef CONFIG_S5P_DEV_TV
26 s5p_device_hdmi.name = name;
27 #endif
30 static inline void s5p_mixer_setname(char *name)
32 #ifdef CONFIG_S5P_DEV_TV
33 s5p_device_mixer.name = name;
34 #endif
37 static inline void s5p_sdo_setname(char *name)
39 #ifdef CONFIG_S5P_DEV_TV
40 s5p_device_sdo.name = name;
41 #endif
44 #endif /* __SAMSUNG_PLAT_TV_H */