summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkevin shen <b00984@freescale.com>2008-04-18 11:40:29 +0800
committerDaniel Schaeffer <daniel.schaeffer@timesys.com>2008-08-25 15:21:02 -0400
commit802d6b2812b9ad12c587075fb983960ad47a84b7 (patch)
treea81ff0c63bac56b7ae6715c618da10b513439bc2
parent2f9bfbbb3015c5ee3c96564750ce1df9a41feb2c (diff)
ENGR00073340 CR fix mx27 compile error
add a empty function for on-off key configure for mx27 and mx31 Signed-off-by: Kevin Shen <b00984@freescale.com>
-rw-r--r--arch/arm/mach-mx27/mx27ads_gpio.c7
-rw-r--r--arch/arm/mach-mx3/mx31ads_gpio.c7
2 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/mach-mx27/mx27ads_gpio.c b/arch/arm/mach-mx27/mx27ads_gpio.c
index 7936499bea24..d1d02007be13 100644
--- a/arch/arm/mach-mx27/mx27ads_gpio.c
+++ b/arch/arm/mach-mx27/mx27ads_gpio.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2004-2008 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -160,6 +160,11 @@ void gpio_uart_inactive(int port, int no_irda)
}
}
+void gpio_on_off_button_active(void)
+{
+}
+EXPORT_SYMBOL(gpio_on_off_button_active);
+
/*!
* Configure the IOMUX GPR register to receive shared SDMA UART events
*
diff --git a/arch/arm/mach-mx3/mx31ads_gpio.c b/arch/arm/mach-mx3/mx31ads_gpio.c
index 39cc5fd3b9f9..ece2853d7027 100644
--- a/arch/arm/mach-mx3/mx31ads_gpio.c
+++ b/arch/arm/mach-mx3/mx31ads_gpio.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2005-2008 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -346,6 +346,11 @@ void gpio_keypad_inactive(void)
EXPORT_SYMBOL(gpio_keypad_inactive);
+void gpio_on_off_button_active(void)
+{
+}
+EXPORT_SYMBOL(gpio_on_off_button_active);
+
/*!
* Setup GPIO for a CSPI device to be active
*