This driver references the logarithmic macros while relying on an indirection inclusion of <linux/log2.h>. Add the missing include directly.
Signed-off-by: Tom Rini <tr...@konsulko.com> --- drivers/pwm/pwm-aspeed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/pwm-aspeed.c b/drivers/pwm/pwm-aspeed.c index ebc9d9a89752..eefe018448f4 100644 --- a/drivers/pwm/pwm-aspeed.c +++ b/drivers/pwm/pwm-aspeed.c @@ -46,6 +46,7 @@ #include <regmap.h> #include <syscon.h> #include <dm/device_compat.h> +#include <linux/log2.h> #include <linux/math64.h> #include <linux/bitfield.h> #include <linux/time.h> -- 2.43.0