diff options
author | Ladislav Michl <[email protected]> | 2018-02-15 11:31:49 +0530 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2018-02-22 10:54:14 -0800 |
commit | 1a3acad26613fff7c7590ab32ff21f8c2a10fba9 (patch) | |
tree | b1916138b3dfb99f9f8fb364fac0c6140a66b909 /drivers/pwm/pwm-omap-dmtimer.c | |
parent | 76234f7c074ca18c0bfe0b5a608973f9b43c7ebd (diff) |
clocksource: timer-ti-dm: Hook device platform data if not already assigned
In the case of device tree boot the device platform data is usually
NULL so hook the platform data obtained from the match.
As part of un-constify the platform_data pointer.
Signed-off-by: Ladislav Michl <[email protected]>
Signed-off-by: Keerthy <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-omap-dmtimer.c')
0 files changed, 0 insertions, 0 deletions