mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
pwm: Remove __init initializer for pwm_add_table()
For platforms that don't support DT, some early MFD modules can register lookup tables. Remove the __init annotation so that this works. This is similar to gpio_add_lookup_table() which allows late additions. CC: Samuel Ortiz <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Alexandre Courbot <[email protected]> Cc: Thierry Reding <[email protected]> Signed-off-by: Shobhit Kumar <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
parent
4a1c683c98
commit
c264f1110d
1 changed files with 1 additions and 1 deletions
|
|
@ -573,7 +573,7 @@ EXPORT_SYMBOL_GPL(of_pwm_get);
|
|||
* @table: array of consumers to register
|
||||
* @num: number of consumers in table
|
||||
*/
|
||||
void __init pwm_add_table(struct pwm_lookup *table, size_t num)
|
||||
void pwm_add_table(struct pwm_lookup *table, size_t num)
|
||||
{
|
||||
mutex_lock(&pwm_lookup_lock);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue