diff options
| author | Andy Shevchenko <[email protected]> | 2023-07-03 16:52:08 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-07-09 22:47:48 +0100 |
| commit | f97fa3dcb2db02013e6904c032a1d2d45707ee40 (patch) | |
| tree | 47a694f5adb37f86e309ce7eeaf9590157f80cd9 /include | |
| parent | 3d74f42c56db263e82ad96f8fe23aef38cdc071f (diff) | |
lib/math: Move dvb_math.c into lib/math/int_log.c
Some existing and new users may benefit from the intlog2() and
intlog10() APIs, make them wide available.
Reviewed-by: Mauro Carvalho Chehab <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/int_log.h (renamed from include/media/dvb_math.h) | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/media/dvb_math.h b/include/linux/int_log.h index 8690ec42954d..332306202464 100644 --- a/include/media/dvb_math.h +++ b/include/linux/int_log.h @@ -1,6 +1,5 @@ /* - * dvb-math provides some complex fixed-point math - * operations shared between the dvb related stuff + * Provides fixed-point logarithm operations. * * Copyright (C) 2006 Christoph Pfister ([email protected]) * @@ -15,8 +14,8 @@ * GNU Lesser General Public License for more details. */ -#ifndef __DVB_MATH_H -#define __DVB_MATH_H +#ifndef __LINUX_INT_LOG_H +#define __LINUX_INT_LOG_H #include <linux/types.h> |