diff options
Diffstat (limited to 'arch/arm/include/asm')
| -rw-r--r-- | arch/arm/include/asm/gpio.h | 2 | ||||
| -rw-r--r-- | arch/arm/include/asm/timex.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h index c402e9b31f4c..477e0206e016 100644 --- a/arch/arm/include/asm/gpio.h +++ b/arch/arm/include/asm/gpio.h | |||
| @@ -6,7 +6,9 @@ | |||
| 6 | #endif | 6 | #endif |
| 7 | 7 | ||
| 8 | /* not all ARM platforms necessarily support this API ... */ | 8 | /* not all ARM platforms necessarily support this API ... */ |
| 9 | #ifdef CONFIG_NEED_MACH_GPIO_H | ||
| 9 | #include <mach/gpio.h> | 10 | #include <mach/gpio.h> |
| 11 | #endif | ||
| 10 | 12 | ||
| 11 | #ifndef __ARM_GPIOLIB_COMPLEX | 13 | #ifndef __ARM_GPIOLIB_COMPLEX |
| 12 | /* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */ | 14 | /* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */ |
diff --git a/arch/arm/include/asm/timex.h b/arch/arm/include/asm/timex.h index ce119442277c..963342acebb7 100644 --- a/arch/arm/include/asm/timex.h +++ b/arch/arm/include/asm/timex.h | |||
| @@ -13,7 +13,11 @@ | |||
| 13 | #define _ASMARM_TIMEX_H | 13 | #define _ASMARM_TIMEX_H |
| 14 | 14 | ||
| 15 | #include <asm/arch_timer.h> | 15 | #include <asm/arch_timer.h> |
| 16 | #ifdef CONFIG_ARCH_MULTIPLATFORM | ||
| 17 | #define CLOCK_TICK_RATE 1000000 | ||
| 18 | #else | ||
| 16 | #include <mach/timex.h> | 19 | #include <mach/timex.h> |
| 20 | #endif | ||
| 17 | 21 | ||
| 18 | typedef unsigned long cycles_t; | 22 | typedef unsigned long cycles_t; |
| 19 | 23 | ||
