diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2018-09-20 14:28:41 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-09-24 09:28:51 +0200 |
commit | 35430f867adfccb27c2981bd5dab17565cdc7117 (patch) | |
tree | 426c8eb254c8f783bf4cd9720ad9156797f7db72 /backport | |
parent | 4c4892004e0f42759c3f95d7b17dd908375e8238 (diff) |
backport: convert int led activate op to void when needed
In kernel v4.19-rc1, the activate op in struct led_trigger, changed
from void to int. To solve this, add a semantic patch to insert a
wrapper function that returns void and calls the function that returns
int.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
[use <+... ...+> as suggested by Hauke]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport')
0 files changed, 0 insertions, 0 deletions