diff options
author | Andy Shevchenko | 2023-11-28 19:44:03 +0200 |
---|---|---|
committer | Andrew Morton | 2023-12-06 16:12:48 -0800 |
commit | 8e92157d7f6190c86bfd6144a409001469827100 (patch) | |
tree | 656fd277899bb771b0e5d7ccd57bfc9f82650d3f /include | |
parent | 4e9e2e4c65136dfd32dd0afe555961433d1cf906 (diff) |
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: e8eed5f7366f ("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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/units.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/units.h b/include/linux/units.h index ff1bd6b5f5b3..45110daaf8d3 100644 --- a/include/linux/units.h +++ b/include/linux/units.h @@ -2,6 +2,7 @@ #ifndef _LINUX_UNITS_H #define _LINUX_UNITS_H +#include <linux/bits.h> #include <linux/math.h> /* Metric prefixes in accordance with Système international (d'unités) */ |