Re: [PATCH v8 2/2] Add PWM fan controller driver for LGM SoC
From: Tanwar, Rahul <hidden>
Date: 2020-08-21 09:14:37
Also in:
linux-pwm, lkml
From: Tanwar, Rahul <hidden>
Date: 2020-08-21 09:14:37
Also in:
linux-pwm, lkml
On 20/8/2020 6:52 pm, Andy Shevchenko wrote:
On Thu, Aug 20, 2020 at 12:50:46PM +0800, Rahul Tanwar wrote:quoted
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller.... +#include <linux/bitfield.h> +#include <linux/clk.h> +#include <linux/module.h>quoted
+#include <linux/of_device.h>This should be mod_devicetable.h.
Inlcuding mod_devicetable.h instead of of_device.h results in build failure related to all platform calls. Build is ok if i remove it. Just FYI.. Regards, Rahul