# Re: \[PATCH 1/2\] pwm: Add \_\_weak attributed functions for pwm operations

- From: David Brown \<hidden\>
- Date: 2011-05-13 16:25:31 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2011/05/3714882
- Thread: https://ratatoskr.run/linux-arm-msm/2011/05/3714882/t.md

```text
On Fri, May 13 2011, Mohan Pallaka wrote:

> For chip drivers that support both pwm and non-pwm modes
> would encounter compilation errors if the platform doesn't
> have support for pwm though the chip is programmed to work
> in non-pwm mode. Add __weak attributed pwm functions to avoid
> compilation issues in these scenarios.
>
> Change-Id: Ia507bf659d4d67d71f135012e7d919aca6c45c6c

Make sure you remove these 'Change-Id' lines before sending patches.
They aren't supposed to be in the kernel since they refer to an internal
server, and aren't useful to anyone else.

David

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
```
