summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-omap-dmtimer.c
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2018-02-15 11:31:49 +0530
committerTony Lindgren <tony@atomide.com>2018-02-22 10:54:14 -0800
commit1a3acad26613fff7c7590ab32ff21f8c2a10fba9 (patch)
treeb1916138b3dfb99f9f8fb364fac0c6140a66b909 /drivers/pwm/pwm-omap-dmtimer.c
parent76234f7c074ca18c0bfe0b5a608973f9b43c7ebd (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 <ladis@linux-mips.org> Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/pwm/pwm-omap-dmtimer.c')
0 files changed, 0 insertions, 0 deletions