summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWallace Wang <r59996@freescale.com>2008-03-25 16:11:21 +0800
committerDaniel Schaeffer <daniel.schaeffer@timesys.com>2008-08-25 15:20:54 -0400
commit59c990597ae2706cd293784058e4f6ace1547596 (patch)
tree630d8425854c74537233fdf58d20210f743fe95c
parent950b7c2e75edba5a267b2df14a2be7c1a76152a7 (diff)
ENGR00069841 Fix the compiling error caused by ENGR00068611
missed including a header file Signed-off-by: Wallace Wang <r59996@freescale.com>
-rw-r--r--arch/arm/mach-mx27/devices.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-mx27/devices.c b/arch/arm/mach-mx27/devices.c
index d21ad6acb8a2..d00f708375a4 100644
--- a/arch/arm/mach-mx27/devices.c
+++ b/arch/arm/mach-mx27/devices.c
@@ -15,6 +15,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
+#include <linux/clk.h>
#include <linux/spi/spi.h>
@@ -437,9 +438,9 @@ static struct platform_device mxc_alsa_device = {
static void mxc_init_audio(void)
{
mxc_audio_data.ssi_clk[0] = clk_get(NULL, "ssi_clk.0");
- clk_put(audio_data->ssi_clk[0]);
+ clk_put(mxc_audio_data.ssi_clk[0]);
mxc_audio_data.ssi_clk[1] = clk_get(NULL, "ssi_clk.1");
- clk_put(audio_data->ssi_clk[1]);
+ clk_put(mxc_audio_data.ssi_clk[1]);
mxc_audio_data.ssi_num = 2;
mxc_audio_data.src_port = 0;
platform_device_register(&mxc_alsa_device);