]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pwm: pwm-aspeed: Add missing <linux/log2.h> to pwm-aspeed.c
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:53:54 +0000 (15:53 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Aug 2025 16:59:05 +0000 (10:59 -0600)
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 <trini@konsulko.com>
drivers/pwm/pwm-aspeed.c

index ebc9d9a89752f4b9c255e79ba48a26f80e18d9b4..eefe018448f434f17dbfbf5b05c1730b2a346c96 100644 (file)
@@ -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>