On 01/16/2018 12:37 PM, Faiz Abbas wrote: > Add support for CONFIG_PM which is the new way to handle managing clocks. > > Move the clock management to pm_runtime_resume() and pm_runtime_suspend() > callbacks for the driver. > > CONFIG_PM is required by OMAP based devices to handle clock management. > Therefore, this allows future Texas Instruments SoCs that have the MCAN IP > to work with this driver. > > Signed-off-by: Faiz Abbas <faiz_abbas@xxxxxx> Fixed this while applying: drivers/net/can/m_can/m_can.c:1752:5: warning: symbol 'm_can_runtime_suspend' was not declared. Should it be static? drivers/net/can/m_can/m_can.c:1763:5: warning: symbol 'm_can_runtime_resume' was not declared. Should it be static? Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Attachment:
signature.asc
Description: OpenPGP digital signature