]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
microblaze: Fix missing HZ macro
authorMichal Simek <michal.simek@xilinx.com>
Thu, 30 Jan 2014 14:25:37 +0000 (15:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 10 Feb 2014 06:42:03 +0000 (07:42 +0100)
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>
arch/microblaze/include/asm/delay.h

index 05b7d39e4391218775b701c12d5138b25ca2ca34..66fc24c24238f64cac057fa33e9b330af10867e3 100644 (file)
@@ -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"           \