From: Chen-Yu Tsai Date: Sat, 25 Nov 2017 13:08:28 +0800 Subject: [U-Boot] [PATCH v2 1/5] bitfield: Include linux/bitops.h for ffs() In-Reply-To: <20171125050832.11803-1-wens@csie.org> References: <20171125050832.11803-1-wens@csie.org> Message-ID: <20171125050832.11803-2-wens@csie.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de bitfield_shift() uses the ffs() function, which is provided by bitops.h. Explicitly include this header. Signed-off-by: Chen-Yu Tsai --- include/bitfield.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/bitfield.h b/include/bitfield.h index a59f3c279aad..adfae49de580 100644 --- a/include/bitfield.h +++ b/include/bitfield.h @@ -37,6 +37,7 @@ * tables which describe all bitfields in all registers. */ +#include #include /* Produces a mask of set bits covering a range of a uint value */ -- 2.15.0