summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJimmy Rubin <jimmy.rubin@stericsson.com>2011-09-01 12:17:53 +0200
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 16:05:54 +0200
commit88d9d6956f9552296ed88b15f124f287736769fa (patch)
tree3f756a43ff3cc0191f4b2ee6ee41fbd2a65c1895 /arch
parenta04e813a0cc1c558087fdde4d0dd5c8e3ddb08e5 (diff)
mach-ux500: mcde: Check cpu instead of machine
Cpu can be used to distinguish between different mcde instead of machine. ST-Ericsson ID: - ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2ebb292fc787548578c34ed9a0110d98a3864034 Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29947 Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com> Tested-by: Robert FEKETE <robert.fekete@stericsson.com> Reviewed-by: Ushit KUMAR <ushit.kumar@stericsson.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ux500/board-mop500-mcde.c2
-rw-r--r--arch/arm/mach-ux500/board-u5500-mcde.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-mcde.c b/arch/arm/mach-ux500/board-mop500-mcde.c
index 9ee3e3c4ff5..b4a6147291f 100644
--- a/arch/arm/mach-ux500/board-mop500-mcde.c
+++ b/arch/arm/mach-ux500/board-mop500-mcde.c
@@ -699,7 +699,7 @@ int __init init_display_devices(void)
struct i2c_adapter *i2c0;
#endif
- if (!(machine_is_u8500() || machine_is_snowball()))
+ if (!cpu_is_u8500())
return ret;
ret = fb_register_client(&framebuffer_nb);
diff --git a/arch/arm/mach-ux500/board-u5500-mcde.c b/arch/arm/mach-ux500/board-u5500-mcde.c
index 9d3f5d82d4d..63580694939 100644
--- a/arch/arm/mach-ux500/board-u5500-mcde.c
+++ b/arch/arm/mach-ux500/board-u5500-mcde.c
@@ -484,7 +484,7 @@ int __init init_display_devices(void)
{
int ret = 0;
- if (!machine_is_u5500())
+ if (!cpu_is_u5500())
return ret;
ret = fb_register_client(&framebuffer_nb);