RE: [patch v1] drivers/platform/x86: select hwmon for Mellanox hotplug driver in Kconfig
From: Vadim Pasternak
Date: Mon Oct 24 2016 - 01:33:39 EST
> -----Original Message-----
> From: Darren Hart [mailto:dvhart@xxxxxxxxxxxxx]
> Sent: Sunday, October 23, 2016 5:52 PM
> To: Vadim Pasternak <vadimp@xxxxxxxxxxxx>
> Cc: fengguang.wu@xxxxxxxxx; davem@xxxxxxxxxxxxx; geert@xxxxxxxxxxxxxx;
> akpm@xxxxxxxxxxxxxxxxxxxx; kvalo@xxxxxxxxxxxxxx;
> gregkh@xxxxxxxxxxxxxxxxxxx; mchehab@xxxxxxxxxx; linux@xxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; platform-driver-x86@xxxxxxxxxxxxxxx; jiri@xxxxxxxxxxx;
> andriy.shevchenko@xxxxxxxxxxxxxxx
> Subject: Re: [patch v1] drivers/platform/x86: select hwmon for Mellanox
> hotplug driver in Kconfig
>
> On Sun, Oct 23, 2016 at 12:45:27PM +0000, vadimp@xxxxxxxxxxxx wrote:
> > From: Vadim Pasternak <vadimp@xxxxxxxxxxxx>
> >
> > Add select HWMON for mlxcpld-hotplug driver config, since it requires
> > hwmon APIs.
>
> Is this in response to the 0-day Error report?
Yes.
>
> >
> > Signed-off-by: Vadim Pasternak <vadimp@xxxxxxxxxxxx>
> > ---
> > drivers/platform/x86/Kconfig | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/platform/x86/Kconfig
> > b/drivers/platform/x86/Kconfig index 65d9b04..1853769 100644
> > --- a/drivers/platform/x86/Kconfig
> > +++ b/drivers/platform/x86/Kconfig
> > @@ -1032,6 +1032,7 @@ config MLX_CPLD_PLATFORM
> > tristate "Mellanox platform hotplug driver support"
> > default n
> > depends on MLX_PLATFORM
> > + select HWMON
> > select I2C
> > ---help---
> > This driver handles hot-plug events for the power suppliers, power
> > --
> > 2.1.4
> >
> >
>
> --
> Darren Hart
> Intel Open Source Technology Center