git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
678be99
)
pwm: pwm-aspeed: Add missing <linux/log2.h> to pwm-aspeed.c
author
Tom Rini
<trini@konsulko.com>
Mon, 4 Aug 2025 21:53:54 +0000
(15:53 -0600)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/drivers/pwm/pwm-aspeed.c
b/drivers/pwm/pwm-aspeed.c
index
ebc9d9a
..
eefe018
100644
(file)
--- 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>