commit | 1a3acad26613fff7c7590ab32ff21f8c2a10fba9 | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Thu Feb 15 11:31:49 2018 +0530 |
committer | Tony Lindgren <tony@atomide.com> | Thu Feb 22 10:54:14 2018 -0800 |
tree | b1916138b3dfb99f9f8fb364fac0c6140a66b909 | |
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 <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>