diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-17 08:38:05 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-17 08:38:05 -0500 |
commit | ae7ec8b0be41b59ef323f7531c0fe6745e8fef45 (patch) | |
tree | d3b5bff2626d743a15533b8400985974817f1cc3 /drivers/pwm/pwm-aspeed.c | |
parent | 6c1608b1ffb372d4dabf1b879e68428712353709 (diff) | |
parent | b83fae673a9cd9795e531883936c1468e75510a5 (diff) |
Merge branch '2023-11-16-assorted-updates' into next
- squashfs improvements, remove common.h in some places, assorted code
fixes, fix a few CONFIG symbol names in Kconfig files, bring in
linux's <linux/time.h> conversion functions, poplar updates, bcb
improvements.
Diffstat (limited to 'drivers/pwm/pwm-aspeed.c')
-rw-r--r-- | drivers/pwm/pwm-aspeed.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-aspeed.c b/drivers/pwm/pwm-aspeed.c index ba98641c86..b03472d234 100644 --- a/drivers/pwm/pwm-aspeed.c +++ b/drivers/pwm/pwm-aspeed.c @@ -49,6 +49,7 @@ #include <dm/device_compat.h> #include <linux/math64.h> #include <linux/bitfield.h> +#include <linux/time.h> #include <asm/io.h> /* The channel number of Aspeed pwm controller */ @@ -77,8 +78,6 @@ /* PWM fixed value */ #define PWM_ASPEED_FIXED_PERIOD 0xff -#define NSEC_PER_SEC 1000000000L - struct aspeed_pwm_priv { struct clk clk; struct regmap *regmap; |