diff options
author | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2011-05-05 21:21:54 -0300 |
---|---|---|
committer | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2011-05-16 22:52:58 -0300 |
commit | 6b2ea2506df17fd25443a3fc45218541c7eafad5 (patch) | |
tree | ed6215bb9df027d5d9236a145681db5d9b186f4f /arch/arm | |
parent | d109066caae15268722611d99ae5f060d752e0dc (diff) |
OMAP: DRM: Using same numbers of CRTCS and PIPES for OMAP 3 and 4
So we avoid having on extra vout resource when we enable both ARCH_OMAP3
and ARCH_OMAP4.
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 7a894475473..66c85144f4a 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -720,11 +720,7 @@ static inline void omap_hdq_init(void) {} #else #define NUM_FB 1 /* we don't want gfx pipe */ #endif -#ifdef CONFIG_ARCH_OMAP4 -#define NUM_PIPES 4 -#else #define NUM_PIPES 3 -#endif static struct resource omap_vout_resource[NUM_PIPES - NUM_FB] = { }; |