From 2f467c616b64a8eae35c274e62450841f52ebd85 Mon Sep 17 00:00:00 2001 From: Mian Yousaf Kaukab Date: Wed, 21 Sep 2011 11:27:43 +0200 Subject: ux500: mcde: use constant device ids Changing device ids based on the current configuration makes it difficult to define regulator and clocks mappings. Change-Id: I0229ac3c2096a9621cd5aacdfc40a92423a10b83 Signed-off-by: Mian Yousaf Kaukab Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32124 Reviewed-by: Marcus LORENTZON Reviewed-by: Jimmy RUBIN Reviewed-by: Jonas ABERG Tested-by: Jonas ABERG --- arch/arm/mach-ux500/board-mop500-mcde.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-ux500/board-mop500-mcde.c b/arch/arm/mach-ux500/board-mop500-mcde.c index d7104eb5050..4460a0dab76 100644 --- a/arch/arm/mach-ux500/board-mop500-mcde.c +++ b/arch/arm/mach-ux500/board-mop500-mcde.c @@ -40,21 +40,11 @@ static struct delayed_work work_dispreg_hdmi; #endif enum { -#ifdef CONFIG_DISPLAY_GENERIC_DSI_PRIMARY PRIMARY_DISPLAY_ID, -#endif -#ifdef CONFIG_DISPLAY_GENERIC_DSI_SECONDARY SECONDARY_DISPLAY_ID, -#endif -#ifdef CONFIG_DISPLAY_FICTIVE FICTIVE_DISPLAY_ID, -#endif -#ifdef CONFIG_DISPLAY_AV8100_TERTIARY AV8100_DISPLAY_ID, -#endif -#ifdef CONFIG_DISPLAY_AB8500_TERTIARY AB8500_DISPLAY_ID, -#endif MCDE_NR_OF_DISPLAYS }; static int display_initialized_during_boot; -- cgit v1.2.3