Skip to content

Commit ac1566e

Browse files
author
Michal Simek
committed
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 <[email protected]>
1 parent b28a960 commit ac1566e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/microblaze/include/asm/delay.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#ifndef _ASM_MICROBLAZE_DELAY_H
1414
#define _ASM_MICROBLAZE_DELAY_H
1515

16+
#include <linux/param.h>
17+
1618
extern inline void __delay(unsigned long loops)
1719
{
1820
asm volatile ("# __delay \n\t" \

0 commit comments

Comments
 (0)