Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tv-core.h
Go to the documentation of this file.
1 /*
2  * arch/arm/plat-samsung/include/plat/tv.h
3  *
4  * Copyright 2011 Samsung Electronics Co., Ltd.
5  * Tomasz Stanislawski <[email protected]>
6  *
7  * Samsung TV driver core functions
8  *
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.
12  */
13 
14 #ifndef __SAMSUNG_PLAT_TV_H
15 #define __SAMSUNG_PLAT_TV_H __FILE__
16 
17 /*
18  * These functions are only for use with the core support code, such as
19  * the CPU-specific initialization code.
20  */
21 
22 /* Re-define device name to differentiate the subsystem in various SoCs. */
23 static inline void s5p_hdmi_setname(char *name)
24 {
25 #ifdef CONFIG_S5P_DEV_TV
26  s5p_device_hdmi.name = name;
27 #endif
28 }
29 
30 static inline void s5p_mixer_setname(char *name)
31 {
32 #ifdef CONFIG_S5P_DEV_TV
33  s5p_device_mixer.name = name;
34 #endif
35 }
36 
37 static inline void s5p_sdo_setname(char *name)
38 {
39 #ifdef CONFIG_S5P_DEV_TV
40  s5p_device_sdo.name = name;
41 #endif
42 }
43 
44 #endif /* __SAMSUNG_PLAT_TV_H */