lkml.org 
[lkml]   [2022]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5 06/10] pwm: dwc: split pci out of core driver
From
Hi

On 10/6/22 01:12, Ben Dooks wrote:
> Moving towards adding non-pci support for the driver, move the pci
> parts out of the core into their own module. This is partly due to
> the module_driver() code only being allowed once in a module and also
> to avoid a number of #ifdef if we build a single file in a system
> without pci support.
>
> Signed-off-by: Ben Dooks <ben.dooks@sifive.com>
> ---
> v4:
> - removed DWC_PERIOD_NS as not needed

...

> --- a/drivers/pwm/pwm-dwc.c
> +++ b/drivers/pwm/pwm-dwc.c
> -
> -#define DWC_TIMERS_TOTAL 8
> -#define DWC_CLK_PERIOD_NS 10
> -

Actually DWC_CLK_PERIOD_NS is still used here. Only the next patch 07/10
is removing usage of it so this patch is not bisect safe.

Jarkko

\
 
 \ /
  Last update: 2022-10-10 12:41    [W:1.103 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site