Skip to content

Commit f3d8b64

Browse files
EncrowThorne19pH5
authored andcommitted
reset: fix BIT macro reference
RESET_CONTROL_FLAGS_BIT_* macros use BIT(), but reset.h does not include bits.h. This causes compilation errors when including reset.h standalone. Include bits.h to make reset.h self-contained. Suggested-by: Troy Mitchell <troy.mitchell@linux.dev> Reviewed-by: Troy Mitchell <troy.mitchell@linux.dev> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Encrow Thorne <jyc0019@gmail.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
1 parent cea5d43 commit f3d8b64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/linux/reset.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#ifndef _LINUX_RESET_H_
33
#define _LINUX_RESET_H_
44

5+
#include <linux/bits.h>
56
#include <linux/err.h>
67
#include <linux/errno.h>
78
#include <linux/types.h>

0 commit comments

Comments
 (0)