diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-02-18 10:38:59 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-19 08:38:58 +0100 |
commit | 09db4f3b59ad06eae514b62c78211db470ecd287 (patch) | |
tree | 6e5f649a9c8c41c5891c30ac04c299a0d3738bed /common/console_common.c | |
parent | a519102def51e995485d933081471e853d36a228 (diff) | |
download | barebox-09db4f3b59ad06eae514b62c78211db470ecd287.tar.gz |
treewide: include <linux/math64.h> wrapper instead of <asm-generic/div64.h>
<asm-generic/div64.h> isn't meant for direct usage as <asm/div64.h> may
override this on a per-architecture basis. We don't do that currently,
but in the future we might. Include the <linux/math64.h> instead.
No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console_common.c')
-rw-r--r-- | common/console_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/console_common.c b/common/console_common.c index 48590c522c..3e07415723 100644 --- a/common/console_common.c +++ b/common/console_common.c @@ -18,7 +18,7 @@ #include <clock.h> #include <malloc.h> #include <linux/pstore.h> -#include <asm-generic/div64.h> +#include <linux/math64.h> #ifndef CONFIG_CONSOLE_NONE |