On Tue, Jun 12, 2018 at 9:25 AM, Geert Uytterhoeven
wrote:
>> --- a/drivers/pwm/pwm-stm32.c
>> +++ b/drivers/pwm/pwm-stm32.c
>> @@ -484,9 +484,7 @@ static int stm32_pwm_apply_locked(struct pwm_chip *chip,
>> struct pwm_device *pwm,
>> static const struct pwm_ops stm32pwm_ops = {
>> .own
Hi Arnd,
On Fri, May 25, 2018 at 11:09 PM Arnd Bergmann wrote:
> Without dmaengine support, we get a harmless warning about an
> unused function:
>
> drivers/pwm/pwm-stm32.c:166:12: error: 'stm32_pwm_capture' defined but not
> used [-Werror=unused-function]
>
> Changing the #ifdef to an IS_ENABL
On Wed, 06 Jun 2018, Thierry Reding wrote:
> On Fri, May 25, 2018 at 11:08:30PM +0200, Arnd Bergmann wrote:
> > Without dmaengine support, we get a harmless warning about an
> > unused function:
> >
> > drivers/pwm/pwm-stm32.c:166:12: error: 'stm32_pwm_capture' defined but not
> > used [-Werror=
On Fri, May 25, 2018 at 11:08:30PM +0200, Arnd Bergmann wrote:
> Without dmaengine support, we get a harmless warning about an
> unused function:
>
> drivers/pwm/pwm-stm32.c:166:12: error: 'stm32_pwm_capture' defined but not
> used [-Werror=unused-function]
>
> Changing the #ifdef to an IS_ENABL
On 05/25/2018 11:08 PM, Arnd Bergmann wrote:
> Without dmaengine support, we get a harmless warning about an
> unused function:
>
> drivers/pwm/pwm-stm32.c:166:12: error: 'stm32_pwm_capture' defined but not
> used [-Werror=unused-function]
>
> Changing the #ifdef to an IS_ENABLED() check shuts u
Without dmaengine support, we get a harmless warning about an
unused function:
drivers/pwm/pwm-stm32.c:166:12: error: 'stm32_pwm_capture' defined but not used
[-Werror=unused-function]
Changing the #ifdef to an IS_ENABLED() check shuts up that warning
and is slightly nicer to read.
Fixes: 53e38
6 matches
Mail list logo