Re: [PATCH v2 2/2] HID: asus: only support backlight when it's not driven by WMI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 30, 2018 at 1:06 PM, Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> I guess you are looking something like below with corresponding header
> that provides stubs in case it's not enabled.
>
>         depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m)

I can make config HID_ASUS
  depends on ASUS_WMI=y || (ASUS_WMI=m && m)

and the corner case you raise (HID_ASUS=y and ASUS_WMI=m) can not be selected.

And there is no need to add any stub headers as far as I can see, but
I must admit I still don't understand why this type of dependency
statement is preferred over a simple "depends on ASUS_WMI". Am I
missing something?

Thanks
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux