Skip to content

Commit 8e92157

Browse files
andy-shevakpm00
authored andcommitted
units: add missing header
BITS_PER_BYTE is defined in bits.h. Link: https://lkml.kernel.org/r/20231128174404.393393-1-andriy.shevchenko@linux.intel.com Fixes: e8eed5f ("units: Add BYTES_PER_*BIT") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Cc: Damian Muszynski <damian.muszynski@intel.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 4e9e2e4 commit 8e92157

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/linux/units.h

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

5+
#include <linux/bits.h>
56
#include <linux/math.h>
67

78
/* Metric prefixes in accordance with Système international (d'unités) */

0 commit comments

Comments
 (0)