Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac1566ec authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarMichal Simek <michal.simek@xilinx.com>
parent b28a960c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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"		\