diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-01-30 15:25:37 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-02-10 07:42:03 +0100 |
commit | ac1566ece497b2a37667cc5d4258edb0bf3b6836 (patch) | |
tree | 137f5ec8e6f65559981f1c0aaec752ed8baf9425 /arch/microblaze | |
parent | b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed (diff) |
microblaze: Fix missing HZ macro
Add missing param.h header because of HZ macro.
It is causing compilation failure:
In file included from include/linux/delay.h:14:0,
from drivers/clk/qcom/reset.c:18:
drivers/clk/qcom/reset.c: In function 'qcom_reset':
arch/microblaze/include/asm/delay.h:39:35: error: 'HZ'
undeclared (first use in this function)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/delay.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/delay.h b/arch/microblaze/include/asm/delay.h index 05b7d39e439..66fc24c2423 100644 --- a/arch/microblaze/include/asm/delay.h +++ b/arch/microblaze/include/asm/delay.h @@ -13,6 +13,8 @@ #ifndef _ASM_MICROBLAZE_DELAY_H #define _ASM_MICROBLAZE_DELAY_H +#include <linux/param.h> + extern inline void __delay(unsigned long loops) { asm volatile ("# __delay \n\t" \ |