summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/tv-core.h
blob: 3bc34f3ce28fb68703d4caf1a13db8d10cac025d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * arch/arm/plat-samsung/include/plat/tv.h
 *
 * Copyright 2011 Samsung Electronics Co., Ltd.
 *	Tomasz Stanislawski <t.stanislaws@samsung.com>
 *
 * Samsung TV driver core functions
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __SAMSUNG_PLAT_TV_H
#define __SAMSUNG_PLAT_TV_H __FILE__

/*
 * These functions are only for use with the core support code, such as
 * the CPU-specific initialization code.
 */

/* Re-define device name to differentiate the subsystem in various SoCs. */
static inline void s5p_hdmi_setname(char *name)
{
#ifdef CONFIG_S5P_DEV_TV
	s5p_device_hdmi.name = name;
#endif
}

static inline void s5p_mixer_setname(char *name)
{
#ifdef CONFIG_S5P_DEV_TV
	s5p_device_mixer.name = name;
#endif
}

static inline void s5p_sdo_setname(char *name)
{
#ifdef CONFIG_S5P_DEV_TV
	s5p_device_sdo.name = name;
#endif
}

#endif /* __SAMSUNG_PLAT_TV_H */
OpenPOWER on IntegriCloud